Skip to content

Commit 36d7928

Browse files
committed
address pr comments
1 parent a981947 commit 36d7928

File tree

1 file changed

+3
-3
lines changed
  • 2nd-gen/delete-unused-accounts-cron/functions

1 file changed

+3
-3
lines changed

2nd-gen/delete-unused-accounts-cron/functions/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717

1818
// [START all]
1919
// [START import]
20-
// The Cloud Functions for Firebase SDK to create v2 Cloud Functions and setup triggers.
20+
// The Cloud Functions for Firebase SDK to create v2 Cloud Functions and set up triggers.
2121
const { onSchedule } = require('firebase-functions/v2/scheduler');
2222
const { logger } = require('firebase-functions');
2323

2424
// The Firebase Admin SDK to delete inactive users.
2525
const admin = require('firebase-admin');
2626
admin.initializeApp();
2727

28-
// The es6-promise-pool to limit the concurrency of Promise's.
28+
// The es6-promise-pool to limit the concurrency of promises.
2929
const PromisePool = require('es6-promise-pool').default;
3030
// Maximum concurrent account deletions.
3131
const MAX_CONCURRENT = 3;
3232
// [END import]
3333

3434
// [START accountcleanup]
35-
// Run once a day at midnight, to cleanup the users
35+
// Run once a day at midnight, to clean up the users
3636
// Manually run the task here https://console.cloud.google.com/cloudscheduler
3737
exports.accountcleanup = onSchedule('every day 00:00', async (event) => {
3838
// Fetch all user details.

0 commit comments

Comments
 (0)