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
93139a1f
Commit
93139a1f
authored
6 years ago
by
Erik Johnston
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/speed_up_purge
parents
e7cd7cb0
b7d2fb5e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.circleci/merge_base_branch.sh
+1
-1
1 addition, 1 deletion
.circleci/merge_base_branch.sh
changelog.d/3855.misc
+1
-0
1 addition, 0 deletions
changelog.d/3855.misc
synapse/__init__.py
+10
-0
10 additions, 0 deletions
synapse/__init__.py
synapse/config/logger.py
+16
-1
16 additions, 1 deletion
synapse/config/logger.py
with
28 additions
and
2 deletions
.circleci/merge_base_branch.sh
+
1
−
1
View file @
93139a1f
...
...
@@ -4,7 +4,7 @@ set -e
# CircleCI doesn't give CIRCLE_PR_NUMBER in the environment for non-forked PRs. Wonderful.
# In this case, we just need to do some ~shell magic~ to strip it out of the PULL_REQUEST URL.
echo
'export CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"'
>>
"
$BASH_ENV
"
echo
'export CIRCLE_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"'
>>
$BASH_ENV
source
$BASH_ENV
if
[[
-z
"
${
CIRCLE_PR_NUMBER
}
"
]]
...
...
This diff is collapsed.
Click to expand it.
changelog.d/3855.misc
0 → 100644
+
1
−
0
View file @
93139a1f
Removed some excess logging messages.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
synapse/__init__.py
+
10
−
0
View file @
93139a1f
...
...
@@ -17,4 +17,14 @@
"""
This is a reference implementation of a Matrix home server.
"""
try
:
from
twisted.internet
import
protocol
from
twisted.internet.protocol
import
Factory
from
twisted.names.dns
import
DNSDatagramProtocol
protocol
.
Factory
.
noisy
=
False
Factory
.
noisy
=
False
DNSDatagramProtocol
.
noisy
=
False
except
ImportError
:
pass
__version__
=
"
0.33.4
"
This diff is collapsed.
Click to expand it.
synapse/config/logger.py
+
16
−
1
View file @
93139a1f
...
...
@@ -227,7 +227,22 @@ def setup_logging(config, use_worker_options=False):
#
# However this may not be too much of a problem if we are just writing to a file.
observer
=
STDLibLogObserver
()
def
_log
(
event
):
if
"
log_text
"
in
event
:
if
event
[
"
log_text
"
].
startswith
(
"
DNSDatagramProtocol starting on
"
):
return
if
event
[
"
log_text
"
].
startswith
(
"
(UDP Port
"
):
return
if
event
[
"
log_text
"
].
startswith
(
"
Timing out client
"
):
return
return
observer
(
event
)
globalLogBeginner
.
beginLoggingTo
(
[
observer
],
[
_log
],
redirectStandardIO
=
not
config
.
no_redirect_stdio
,
)
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