This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Add ThrottleTimer.Unset
pull/1842/head
Jae Kwon
9 years ago
parent
f592570310
commit
c58b1cbf8a
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
throttle_timer.go
+ 4
- 0
throttle_timer.go
View File
@ -46,6 +46,10 @@ func (t *ThrottleTimer) Set() {
}
}
func
(
t
*
ThrottleTimer
)
Unset
(
)
{
t
.
timer
.
Stop
(
)
}
// For ease of .Stop()'ing services before .Start()'ing them,
// we ignore .Stop()'s on nil ThrottleTimers
func
(
t
*
ThrottleTimer
)
Stop
(
)
bool
{
Write
Preview
Loading…
Cancel
Save