Uninett / Howitz

1 stars 3 forks source link

Refill cache if event not there #137

Closed hmpf closed 2 weeks ago

hmpf commented 2 weeks ago

For #135

This makes sorting very slow since it refetches ALL events.

hmpf commented 2 weeks ago

Thinking...

On restart of howitz server.

Check if cache is empty:

Sync with reality:

This is probably what should be done on loss of connection to zino server as well. The terrain might have changed.

hmpf commented 2 weeks ago

The cache will be refilled on reconnect in the error handler itself so this is no longer needed.