mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
limit how many queued entries we get on each run
if there's more than 1000 queued we will get another 1000 on the next run.
This commit is contained in:
parent
ba0d6fc193
commit
3a85744814
@ -290,7 +290,7 @@ class SyncLib
|
||||
$server = $my_server['server'];
|
||||
$this->log(LOG_DEBUG, "Processing queue for server " . $server);
|
||||
|
||||
$res = $this->db->customQuery("select * from queue WHERE (queued < " . $queued_limit . " or queued is null) and server='" . $server . "'");
|
||||
$res = $this->db->customQuery("select * from queue WHERE (queued < " . $queued_limit . " or queued is null) and server='" . $server . "' LIMIT 1000");
|
||||
|
||||
$list = array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user