mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 23:16:54 +00:00
Change to test values
This commit is contained in:
1 parent
0b44e68a36
commit
fb2d03f5a2
1 file changed
+15
-6
@@ -4,19 +4,28 @@ export const HISTORY_PREFIX = 'HOMEBREWERY-HISTORY';
|
||||
export const HISTORY_SLOTS = 5;
|
||||
|
||||
// History values in minutes
|
||||
// const HISTORY_SAVE_DELAYS = {
|
||||
// '0' : 0,
|
||||
// '1' : 2,
|
||||
// '2' : 10,
|
||||
// '3' : 60,
|
||||
// '4' : 12 * 60,
|
||||
// '5' : 2 * 24 * 60
|
||||
// };
|
||||
const HISTORY_SAVE_DELAYS = {
|
||||
'0' : 0,
|
||||
'1' : 2,
|
||||
'2' : 10,
|
||||
'3' : 60,
|
||||
'4' : 12 * 60,
|
||||
'5' : 2 * 24 * 60
|
||||
'1' : 1,
|
||||
'2' : 2,
|
||||
'3' : 3,
|
||||
'4' : 4,
|
||||
'5' : 5
|
||||
};
|
||||
|
||||
const HB_DB = 'HOMEBREWERY-DB';
|
||||
const HB_STORE = 'HISTORY';
|
||||
|
||||
const GARBAGE_COLLECT_DELAY = 28 * 24 * 60;
|
||||
// const GARBAGE_COLLECT_DELAY = 28 * 24 * 60;
|
||||
const GARBAGE_COLLECT_DELAY = 10;
|
||||
|
||||
|
||||
function getKeyBySlot(brew, slot){
|
||||
|
||||
Reference in new issue
Block a user