Add nicer debug logging

This commit is contained in:
Mark Veidemanis 2023-03-11 17:46:18 +00:00
parent 8dc1e83d0a
commit 059c723cc1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 1 additions and 1 deletions

View File

@ -429,6 +429,7 @@ class LocalPlatformClient(ABC):
async def cheat(self, assets=None): async def cheat(self, assets=None):
# Get all public ads for the given assets # Get all public ads for the given assets
log.debug(f"Running cheat for {self.instance.name}")
public_ads = await self.get_all_public_ads(assets) public_ads = await self.get_all_public_ads(assets)
if not public_ads: if not public_ads:
return False return False

View File

@ -28,7 +28,6 @@ async def aggregator_job():
async def platform_job(interval): async def platform_job(interval):
print("PLATFORM JOB FOR", interval)
if interval == 0: if interval == 0:
return return
platforms = Platform.objects.filter(enabled=True, cheat_interval_seconds=interval) platforms = Platform.objects.filter(enabled=True, cheat_interval_seconds=interval)