turn keep awake on

This commit is contained in:
mantikoros 2021-12-24 16:14:02 -05:00
parent f48ae0170b
commit b2945c24b1
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import * as admin from 'firebase-admin'
admin.initializeApp()
// export * from './keep-awake'
export * from './keep-awake'
export * from './place-bet'
export * from './resolve-market'
export * from './sell-bet'

View File

@ -8,6 +8,7 @@ export const keepAwake = functions.pubsub
await Promise.all([
callCloudFunction('placeBet'),
callCloudFunction('resolveMarket'),
callCloudFunction('sellBet'),
])
await sleep(30)
@ -15,6 +16,7 @@ export const keepAwake = functions.pubsub
await Promise.all([
callCloudFunction('placeBet'),
callCloudFunction('resolveMarket'),
callCloudFunction('sellBet'),
])
})