Setting Data only once with MemoryStore?

I have a shop that resets every hour, and I’m using MemoryStore to set the amount of stocks it has, so only that many people can buy it. But I have a problem, where whenever it resets, every server sets it to the same amount. I feel like that will cause some data issues. Is there a way to get around this?