MatrixSynapse/synapse/util
Erik Johnston bf5c9706d9 Remove full_twisted_stacktraces option
The debug 'full_twisted_stacktraces' flag caused synapse to rewrite
twisted deferreds to always fire the callback on the next reactor tick.
This was to force the deferred to always store the stacktraces on
exceptions, and thus be more likely to have a full stacktrace when it
reaches the final error handlers and gets printed to the logs.

Dynamically rewriting things is generally bad, and in particular this
change violates assumptions of various bits of Twisted. This wouldn't
necessarily be so bad, but it turns out this option has been turned on
on some production servers.

Turning the option can cause e.g. #1778.

For now, lets just entirely nuke this option.
2017-01-12 10:32:52 +00:00
..
caches
__init__.py
async.py
distributor.py
frozenutils.py
httpresourcetree.py
jsonobject.py
logcontext.py
logutils.py
manhole.py
metrics.py
ratelimitutils.py
retryutils.py
rlimit.py
stringutils.py
versionstring.py
wheel_timer.py