Add admin setting to change max concurrent workers

This commit is contained in:
viktorstrate
2020-09-21 21:32:30 +02:00
parent a4f53cbc35
commit 9c9807ecc9
14 changed files with 568 additions and 257 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE site_info
DROP COLUMN IF EXISTS periodic_scan_interval,
DrOP COLUMN IF EXISTS concurrent_workers;

View File

@@ -1,3 +1,4 @@
ALTER TABLE site_info
ADD COLUMN IF NOT EXISTS periodic_scan_interval int(8) NOT NULL DEFAULT 0;
ADD COLUMN IF NOT EXISTS periodic_scan_interval int(8) NOT NULL DEFAULT 0,
ADD COLUMN IF NOT EXISTS concurrent_workers int(8) NOT NULL DEFAULT 3;