Removed test logs
This commit is contained in:
parent
809c6d4cb9
commit
a4d3cffa93
@ -57,7 +57,6 @@ class ServerRepositoryService(ServerRepositoryABC):
|
||||
def get_server_by_id(self, server_id: int) -> Server:
|
||||
cs = self._cache.cached_server.where(lambda x: x.id == server_id).single_or_default()
|
||||
if cs is not None:
|
||||
self._logger.error(__name__, f"CACHE")
|
||||
return cs
|
||||
|
||||
self._logger.trace(__name__, f"Send SQL command: {Server.get_select_by_id_string(server_id)}")
|
||||
@ -69,7 +68,6 @@ class ServerRepositoryService(ServerRepositoryABC):
|
||||
def get_server_by_discord_id(self, discord_id: int) -> Server:
|
||||
cs = self._cache.cached_server.where(lambda x: x.discord_id == discord_id).single_or_default()
|
||||
if cs is not None:
|
||||
self._logger.error(__name__, f"CACHE")
|
||||
return cs
|
||||
|
||||
self._logger.trace(
|
||||
@ -82,7 +80,6 @@ class ServerRepositoryService(ServerRepositoryABC):
|
||||
def find_server_by_discord_id(self, discord_id: int) -> Optional[Server]:
|
||||
cs = self._cache.cached_server.where(lambda x: x.discord_id == discord_id).single_or_default()
|
||||
if cs is not None:
|
||||
self._logger.error(__name__, f"CACHE")
|
||||
return cs
|
||||
|
||||
self._logger.trace(
|
||||
|
Loading…
Reference in New Issue
Block a user