Merge branch 'consul_services_update' into helm

This commit is contained in:
2025-03-18 00:12:25 -04:00
2 changed files with 12 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ impl CharacterRepository {
self.cache
.lock()
.await
.set(&cache_key, &character, 300)
.set(&cache_key, &character, 0)
.await
.map_err(|_| sqlx::Error::RowNotFound)?;
Ok(character)
@@ -164,7 +164,7 @@ impl CharacterRepository {
self.cache
.lock()
.await
.set(&cache_key, &characters, 300)
.set(&cache_key, &characters, 0)
.await
.map_err(|_| sqlx::Error::RowNotFound)?;
Ok(characters)