mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Make empty cache detection a bit more aggressive to account for cache flush and data insert happening concurrently
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ function cache (env, ctx) {
|
||||
}
|
||||
|
||||
data.isEmpty = (datatype) => {
|
||||
return data[datatype].length == 0;
|
||||
return data[datatype].length < 20;
|
||||
}
|
||||
|
||||
data.getData = (datatype) => {
|
||||
|
||||
Reference in New Issue
Block a user