mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
Change to test values
This commit is contained in:
@@ -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