Scope pino lines with filename
This commit is contained in:
parent
f6c19c548e
commit
4347964030
338 changed files with 1524 additions and 1111 deletions
|
@ -4,7 +4,7 @@
|
|||
import { isNil, sortBy } from 'lodash';
|
||||
import PQueue from 'p-queue';
|
||||
|
||||
import * as log from './logging/log';
|
||||
import { createLogger } from './logging/log';
|
||||
import { assertDev } from './util/assert';
|
||||
import { sleep } from './util/sleep';
|
||||
import { isNormalNumber } from './util/isNormalNumber';
|
||||
|
@ -17,6 +17,8 @@ import { drop } from './util/drop';
|
|||
import { MINUTE, HOUR, DAY, WEEK } from './util/durations';
|
||||
import { isDirectConversation } from './util/whatTypeOfConversation';
|
||||
|
||||
const log = createLogger('routineProfileRefresh');
|
||||
|
||||
const STORAGE_KEY = 'lastAttemptedToRefreshProfilesAt';
|
||||
const MAX_AGE_TO_BE_CONSIDERED_RECENTLY_REFRESHED = 3 * DAY;
|
||||
const MAX_CONVERSATIONS_TO_REFRESH = 50;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue