andyblarblar / transferware.ai

“Shards are glass, sherds are pottery”
0 stars 0 forks source link

Add filelock over the inital startup cache #54

Closed andyblarblar closed 5 months ago

andyblarblar commented 6 months ago

Filelock the cache when initally loading each api. This avoids them all writining to it. If it wins the lock, upadate the cache if enabled as it currently does. Else, Block forever until you get the lock, then load the cache with update always set to false.