Update firebaseFetchAndUpdate.service.ts
Make fetch time as constant
This commit is contained in:
committed by
GitHub
parent
b7fc6c134d
commit
cfd5f4970e
@@ -5,8 +5,9 @@ import {
|
||||
setActivityTimeWindowMedium,
|
||||
} from '../common/AgentActivityConfigurableConstants';
|
||||
|
||||
const FIREBASE_FETCH_TIME = 15 * 60;
|
||||
async function handleUpdatedConfigureValuesFromFirebase() {
|
||||
await remoteConfig().fetch(15 * 60 ); //15 minutes
|
||||
await remoteConfig().fetch(FIREBASE_FETCH_TIME); //15 minutes
|
||||
remoteConfig()
|
||||
.activate()
|
||||
.then((fetchedRemotely) => {
|
||||
|
||||
Reference in New Issue
Block a user