Add nicer debug logging
This commit is contained in:
parent
8dc1e83d0a
commit
059c723cc1
|
@ -429,6 +429,7 @@ class LocalPlatformClient(ABC):
|
|||
|
||||
async def cheat(self, assets=None):
|
||||
# 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)
|
||||
if not public_ads:
|
||||
return False
|
||||
|
|
|
@ -28,7 +28,6 @@ async def aggregator_job():
|
|||
|
||||
|
||||
async def platform_job(interval):
|
||||
print("PLATFORM JOB FOR", interval)
|
||||
if interval == 0:
|
||||
return
|
||||
platforms = Platform.objects.filter(enabled=True, cheat_interval_seconds=interval)
|
||||
|
|
Loading…
Reference in New Issue