LearnersGuild / echo

learning management system
MIT License
3 stars 31 forks source link

Refreshes cache at startup/adds channels to cache to increase efficiency #1097

Closed sdweber422 closed 6 years ago

sdweber422 commented 6 years ago

Fixes #1078

Overview

Cache refreshes once workers are started, which minimizes cache misses. Also, when a channel is created, it is added to the cache. Finally, the cache expires every 48 hours instead of every 5 minutes.

Data Model / DB Schema Changes

None.

Environment / Configuration Changes

None.

Notes

Tests may be needed for cache functionality.