| 332 | } |
| 333 | |
| 334 | void Controller::set_timeout_ms(int64_t timeout_ms) { |
| 335 | if (timeout_ms <= 0x7fffffff) { |
| 336 | _timeout_ms = timeout_ms; |
| 337 | _real_timeout_ms = timeout_ms; |
| 338 | } else { |
| 339 | _timeout_ms = 0x7fffffff; |
| 340 | LOG(WARNING) << "timeout_ms is limited to 0x7fffffff (roughly 24 days)"; |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | void Controller::set_backup_request_ms(int64_t timeout_ms) { |
| 345 | if (timeout_ms <= 0x7fffffff) { |
no outgoing calls