Skip to content

Commit

Permalink
Merge branch 'stage-main-71' of github.com:MoveOnOrg/Spoke into stage…
Browse files Browse the repository at this point in the history
…-main-71
  • Loading branch information
schuyler1d committed Jun 18, 2020
2 parents 65c4312 + dd90608 commit d350515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/models/cacheable_queries/campaign.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const campaignCache = {
await r.redis
.multi()
.hset(infoKey, "assignedCount", assignCount)
.expire(infoKey, 43200)
.expire(infoKey, 432000) // counts stay 5 days for easier review
.execAsync();
} catch (err) {
console.log("campaign.updateAssignedCount Error", id, err);
Expand All @@ -250,7 +250,7 @@ const campaignCache = {
countType,
typeof countAmount === "number" ? countAmount : 1
)
.expire(infoKey, 43200)
.expire(infoKey, 432000) // counts stay 5 days for easier review
.execAsync();
} catch (err) {
console.log("campaign.incrMessaged Error", id, err);
Expand Down

0 comments on commit d350515

Please sign in to comment.