Allow checking account ID whitelist
This commit is contained in:
@@ -12,14 +12,17 @@ log = logs.get_logger("polling")
|
||||
|
||||
INTERVAL = 5
|
||||
|
||||
|
||||
async def poll_aggregator(aggregator):
|
||||
print("Polling aggregator", aggregator)
|
||||
|
||||
|
||||
async def poll_platform(platform):
|
||||
print("Polling platform", platform)
|
||||
client = await AgoraClient(platform)
|
||||
await client.poll()
|
||||
|
||||
|
||||
async def job():
|
||||
platforms = Platform.objects.filter(enabled=True)
|
||||
aggregators = Aggregator.objects.filter(enabled=True)
|
||||
|
||||
Reference in New Issue
Block a user