Commit f9268141 authored by jan.koester's avatar jan.koester
Browse files

test

parent 66510e1f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ namespace authdb {
        auto now = std::chrono::steady_clock::now();

        // Fast path: check if cached data is fresh
        bool do_peer_fetch = (now - cache->last_fetch) >= std::chrono::seconds(30);
        bool do_peer_fetch = (now - cache->last_fetch) >= std::chrono::seconds(10);

        uint64_t cur_epoch = g_Cluster->getRecoveryEpoch();
        if (cur_epoch != cache->recovery_epoch)