Skip to content

Commit

Permalink
adjust scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed May 8, 2024
1 parent 7d595cd commit 508b9ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def getScheduler() -> BackgroundScheduler:
Scheduler.__scheduler = BackgroundScheduler({
'apscheduler.executors.default': {
'class': 'apscheduler.executors.pool:ThreadPoolExecutor',
'max_workers': '20'
'max_workers': '5'
},
'apscheduler.executors.processpool': {
'type': 'processpool',
'max_workers': '12'
'max_workers': '5'
}
})

Expand Down

0 comments on commit 508b9ba

Please sign in to comment.