mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:20:04 +00:00
Refresh placefiles as often as every 1 second
This commit is contained in:
parent
06a2a18c06
commit
621cbb3d51
1 changed files with 2 additions and 2 deletions
|
|
@ -348,8 +348,8 @@ PlacefileManager::Impl::PlacefileRecord::refresh_time() const
|
||||||
|
|
||||||
if (refresh_enabled())
|
if (refresh_enabled())
|
||||||
{
|
{
|
||||||
// Don't refresh more often than every 15 seconds
|
// Don't refresh more often than every 1 second
|
||||||
return std::max(placefile_->refresh(), 15s);
|
return std::max(placefile_->refresh(), 1s);
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1s;
|
return -1s;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue