Use a pool of thread workers, better for huge lists of watchers

This commit is contained in:
Leigh Morresi
2021-02-02 16:29:06 +01:00
parent 704b8daa6d
commit f1c2ece32f
3 changed files with 66 additions and 66 deletions

View File

@@ -23,7 +23,8 @@ class ChangeDetectionStore:
},
'requests': {
'timeout': 15, # Default 15 seconds
'minutes_between_check': 3 * 60 # Default 3 hours
'minutes_between_check': 3 * 60, # Default 3 hours
'workers': 10 # Number of threads, lower is better for slow connections
}
}
}