Skip to content

Commit

Permalink
fix typo introduced by previous commit
Browse files Browse the repository at this point in the history
editing directly on github prevented me from spotting
that silly mistake
  • Loading branch information
gturri authored Dec 18, 2024
1 parent 96e06f4 commit e4bf347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symfony-server/src/Services/SlackService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function usersList(): SlackMembersTimestamped {
// We should be able to make at least a call per minute. If data is 5 minutes old, then something is wrong$ ^I^I^I// but it can be that something is wrong on Slack side and we don't want to have an alert as soon as slack returns a 5xx.$
// Since it's not so crucial to have a very up to date list (we don't have new slack member every hour), we setup a limit such that$
// several cron runs in a row may fail$
$maxAcceptableAgeInSeconds = 3*3600 + 100;$
$maxAcceptableAgeInSeconds = 3*3600 + 100;
try {
return SlackMembersTimestamped::fromFile($this->usersListLocalCache, $this->logger, $this->nowProvider->getNow(), $maxAcceptableAgeInSeconds);
} catch(Exception $e) {
Expand Down

0 comments on commit e4bf347

Please sign in to comment.