[mod] only have one job for now

This commit is contained in:
Laurent Peuch 2018-07-16 05:53:13 +02:00
parent f87fcb560f
commit a08df9fb03

2
run.py
View file

@ -93,7 +93,7 @@ async def initialize_app_list():
async def jobs_dispatcher():
if Worker.select().count() == 0:
for i in range(5):
for i in range(1):
Worker.create(state="available")
while True: