Add nicer debug logging
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user