mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 20:32:10 -04:00
Add logging and fix log contexts for publicRooms
This commit is contained in:
parent
9e2c22c97f
commit
33a9026cdf
2 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from synapse.util import logcontext
|
||||
from synapse.util.async import ObservableDeferred
|
||||
|
||||
|
||||
|
@ -52,4 +53,4 @@ class ResponseCache(object):
|
|||
return r
|
||||
|
||||
result.addBoth(remove)
|
||||
return result.observe()
|
||||
return logcontext.make_deferred_yieldable(result.observe())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue