Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
cc0874cf
Commit
cc0874cf
authored
8 years ago
by
David Baker
Browse files
Options
Downloads
Patches
Plain Diff
Put back real delay before mailing
parent
68f8fc2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/push/emailpusher.py
+1
-1
1 addition, 1 deletion
synapse/push/emailpusher.py
with
1 addition
and
1 deletion
synapse/push/emailpusher.py
+
1
−
1
View file @
cc0874cf
...
...
@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
# The amount of time we always wait before ever emailing about a notification
# (to give the user a chance to respond to other push or notice the window)
DELAY_BEFORE_MAIL_MS
=
2000
#
2 * 60 * 1000
DELAY_BEFORE_MAIL_MS
=
2
*
60
*
1000
THROTTLE_START_MS
=
2
*
60
*
1000
THROTTLE_MAX_MS
=
(
2
*
60
*
1000
)
*
(
2
**
11
)
# ~3 days
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment