(us int)
| 385 | } |
| 386 | |
| 387 | func (s *Topom) SetSlotActionInterval(us int) { |
| 388 | us = math2.MinMaxInt(us, 0, 1000*1000) |
| 389 | s.action.interval.Set(int64(us)) |
| 390 | log.Warnf("set action interval = %d", us) |
| 391 | } |
| 392 | |
| 393 | func (s *Topom) GetSlotActionDisabled() bool { |
| 394 | return s.action.disabled.Bool() |