1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 01:52:18 +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:
Jean Paul Galea 2015-08-18 11:25:15 +02:00
parent 02f2e056b1
commit 0c3a48ee63

View File

@ -251,7 +251,7 @@ class SyncLib
}
// queue daemon
public function reSync($older_than=60, $timeout)
public function reSync($older_than, $timeout)
{
$this->log(LOG_DEBUG, 'starting resync');