Skip to content

Commit 63a018b

Browse files
authored
Merge pull request #21 from sacconazzo:develop
AI_MINUTES var
2 parents f689d63 + 3630369 commit 63a018b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ SHARE_INTERVAL=
2222
RECALIBRATE_INTERVAL=
2323
RECALIBRATE_AI_INTERVAL=
2424
REALTIME_MINUTES=
25+
AI_MINUTES=
2526
ENABLE_BUTTONS=
2627
TELEGRAM_TOKEN=
2728
TELEGRAM_CHATS=

src/calibrate/ai.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const aai = async () => {
1313
FROM\
1414
\`adc-snaps\`\
1515
WHERE\
16-
timestamp> (NOW() - INTERVAL ${process.env.REALTIME_MINUTES} MINUTE)\
16+
timestamp> (NOW() - INTERVAL ${process.env.AI_MINUTES} MINUTE)\
1717
ORDER BY\
1818
id ASC;`
1919
);

0 commit comments

Comments
 (0)