I am attempting to do something like the following:

after_fork do |server, worker|
  $unicorn_uptime = Time.now.to_i.to_s
  $unicorn_uptime.freeze
<snip>

Unfortunately the variable comes up nil when later accessed. Anyone have
thoughts on what I am missing?

Thanks!
-Joe


Reply via email to