#Persister Timing

5 messages · Page 1 of 1 (latest)

rare viper
#

Hey! I noticed that theres about a 1 second delay between the state updating on the screen and the write being called to the persister. Any way to configure that to be faster? On logout I call queryClient.clear() and if the user happens to refresh the page fast enough, their auth cookie gets unset but the cache still holds the user information. Unlikely a user will see this, but just curious if I can do anything to fix it

little cargo
rare viper
#

Damn, sorry, IDK how I missed that

#

🤦‍♂️

#

Will probably set it to 0 because the storage library I use has its own throttling logic