##// END OF EJS Templates
auth-token: expose fetched token in unified way into request attribute....
auth-token: expose fetched token in unified way into request attribute. - This will allow re-using exposed access token for HTTP views in single place - We will support also exposing tokens from url if special _auth_token will be used as url param - We'll no longer require double logic for extraction of URL/HEADER auth-tokens and have a single place to extract it.

File last commit:

r3138:e7d48731 default
r4002:5f150e86 default
Show More
patch-beaker-lock-func-debug.diff
20 lines | 976 B | text/x-diff | DiffLexer
/ pkgs / patches / beaker / patch-beaker-lock-func-debug.diff
diff -rup Beaker-1.9.1-orig/beaker/container.py Beaker-1.9.1/beaker/container.py
--- Beaker-1.9.1-orig/beaker/container.py 2018-04-10 10:23:04.000000000 +0200
+++ Beaker-1.9.1/beaker/container.py 2018-04-10 10:23:34.000000000 +0200
@@ -353,13 +353,13 @@ class Value(object):
debug("get_value returning old value while new one is created")
return value
else:
- debug("lock_creatfunc (didnt wait)")
+ debug("lock_creatfunc `%s` (didnt wait)", self.createfunc.__name__)
has_createlock = True
if not has_createlock:
- debug("lock_createfunc (waiting)")
+ debug("lock_createfunc `%s` (waiting)", self.createfunc.__name__)
creation_lock.acquire()
- debug("lock_createfunc (waited)")
+ debug("lock_createfunc `%s` (waited)", self.createfunc.__name__)
try:
# see if someone created the value already