diff options
author | Eric Wong <normalperson@yhbt.net> | 2014-08-14 19:44:09 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2014-08-14 19:44:09 +0000 |
commit | 3b02e6a8c745a92dab9186555c9ed0161ca8d8ea (patch) | |
tree | 738bf51090d03b29034400ff56501fafc1733157 | |
parent | 8333454e7c95407b7d7eff5e8fbae0a2795b4d06 (diff) | |
download | clogger-3b02e6a8c745a92dab9186555c9ed0161ca8d8ea.tar.gz |
This is more portable across different servers than Thread.current in case of non-blocking servers which may be serving multiple clients at once. This is also faster than relying on $e{...} since $e{...} uses eval and that is slow.
-rw-r--r-- | README | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ that receives a "<<" method: * $pid - process ID of the current process * $e{Thread.current} - Thread processing the request * $e{Actor.current} - Actor processing the request (Revactor or Rubinius) +* $env{variable_name} - any Rack environment variable (e.g. rack.url_scheme) == REQUIREMENTS |