Method: Roma::Command::SystemCommandReceiver#ev_rset_reqpushv_timeout_count
- Defined in:
- lib/roma/command/sys_command_receiver.rb
#ev_rset_reqpushv_timeout_count(s) ⇒ Object
ev_rset_reqpushv_timeout_count <sec>
943 944 945 946 947 948 949 950 951 952 |
# File 'lib/roma/command/sys_command_receiver.rb', line 943 def ev_rset_reqpushv_timeout_count(s) if s.length != 2 return send_data("CLIENT_ERROR number of arguments\n\r") end if s[1].to_i <= 0 return send_data("CLIENT_ERROR time value must be lager than 0\r\n") end @stats.reqpushv_timeout_count = s[1].to_i send_data("STORED\r\n") end |