Fix data race with calling run_state::network_time from a separate thread

This commit is contained in:
Tim Wojtulewicz 2025-03-19 15:02:55 -07:00
parent 458bf762f1
commit 8b9fe48f13
2 changed files with 6 additions and 5 deletions

View file

@ -77,8 +77,10 @@ public:
* Runs an expire operation on all open backends. This is called by the expiration
* timer and shouldn't be called directly otherwise, since it should only happen on a
* separate thread.
*
* @param t The network time that the expiration started.
*/
void Expire();
void Expire(double t);
protected:
friend class storage::detail::ExpirationTimer;