Flowdock
method

time_since_last_write_ok?

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Resolver
time_since_last_write_ok?() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/middleware/database_selector/resolver.rb, line 86
          def time_since_last_write_ok?
            Time.now - context.last_write_timestamp >= send_to_replica_delay
          end
Register or log in to add new notes.