mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] only have one job for now
This commit is contained in:
parent
f87fcb560f
commit
a08df9fb03
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue