lib/geminabox/server.rb in geminabox-1.4.0 vs lib/geminabox/server.rb in geminabox-1.4.1
- old
+ new
@@ -204,10 +204,10 @@
private
def serialize_update(&block)
with_rlock(&block)
rescue ReentrantFlock::AlreadyLocked
- halt 503, { 'Retry-After' => Geminabox.retry_interval }, 'Repository lock is held by another process'
+ halt 503, { 'Retry-After' => Geminabox.retry_interval.to_s }, 'Repository lock is held by another process'
end
def with_rlock(&block)
self.class.with_rlock(&block)
end