mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-08 03:54:20 +01:00
Don't set a default value for reSync argument.
- reSync() is only called in ykval-queue, and that sets an $older_than argument. - additionally, the defaults did not match. - the value in ykval-queue (via ykval-config) is 10 seconds, and the value in reSync($older_than=) was 60 seconds. - no functional change, just makes things less confusing.
This commit is contained in:
parent
02f2e056b1
commit
0c3a48ee63
@ -251,7 +251,7 @@ class SyncLib
|
|||||||
}
|
}
|
||||||
|
|
||||||
// queue daemon
|
// queue daemon
|
||||||
public function reSync($older_than=60, $timeout)
|
public function reSync($older_than, $timeout)
|
||||||
{
|
{
|
||||||
$this->log(LOG_DEBUG, 'starting resync');
|
$this->log(LOG_DEBUG, 'starting resync');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user