Commit Graph

45 Commits

Author SHA1 Message Date
Anton Kaliaev dec518eb06
update comment [ci skip] [circleci skip] 2017-03-29 16:03:05 +04:00
Anton Kaliaev c46ffe39a8
[service] check for error returned by impl
otherwise, we mark it as started when it is not in fact
2017-03-27 20:46:46 +04:00
Anton Kaliaev 75a539ae3d Merge pull request #3 from silasdavis/master
From the department of pedantry
2017-03-27 15:23:47 +04:00
Ethan Buchman dcb015dff6 repeat_timer: drain channel in Stop; done -> wg 2017-03-05 03:33:35 -05:00
Ethan Buchman 6141dc6eed Merge pull request #7 from tendermint/develop
Develop
2017-03-03 00:06:45 -05:00
Ethan Buchman 959efd3127 Merge branch 'master' into develop 2017-03-03 00:05:51 -05:00
Ethan Buchman 95c14fbd65 Merge branch 'master' into develop 2017-03-03 00:03:39 -05:00
Jae Kwon 339e135776 Add IsDirEmpty 2017-01-27 20:37:04 -08:00
Ethan Buchman e289af53b6 Merge pull request #6 from tendermint/develop
Develop
2017-01-12 21:37:18 -05:00
Ethan Buchman a552e49b50 Reverts commit f40b1b to a6a67e 2016-12-12 23:08:31 -05:00
Jae Kwon 70e694ee76 Fix ThrottleTimer null-pointer error / race condition 2016-12-06 01:39:04 -08:00
Jae Kwon f40b1b65f8 Add Tempdir 2016-11-21 20:03:59 -08:00
Jae Kwon 890e240730 Remove AutoFile tests 2016-11-21 20:03:59 -08:00
Jae Kwon 25dc9ae345 QuitService->BaseService 2016-11-21 20:03:59 -08:00
Jae Kwon a6a67ea9b2 Remove AutoFile; Use go-autofile instead 2016-11-21 20:03:59 -08:00
Jae Kwon 6b4160f2a5 Add Tempdir 2016-11-21 20:01:11 -08:00
Jae Kwon fa3daa7abc Remove AutoFile tests 2016-10-28 12:11:23 -07:00
Jae Kwon 2781df39e5 QuitService->BaseService 2016-10-28 12:09:22 -07:00
Jae Kwon 44f2818a3d Remove AutoFile; Use go-autofile instead 2016-10-26 21:50:28 -07:00
Jae Kwon 1c62bb6dad Merge pull request #5 from tendermint/develop
Reset() and SIGHUP for AutoFiles
2016-10-20 02:01:00 -07:00
Jae Kwon 1a24e6e237 Let SIGHUP close AutoFiles 2016-10-17 16:24:55 -07:00
Ethan Buchman 2e424ee663 service: Reset() for restarts 2016-10-17 16:24:55 -07:00
Ethan Buchman 47e06734f6 Merge pull request #4 from tendermint/throttle
throttle_timer: fix race, use mtx instead of atomic
2016-09-10 17:59:15 -04:00
Ethan Buchman 930880f574 throttle_timer: fix race, use mtx instead of atomic 2016-09-10 17:52:26 -04:00
Jae Kwon 9dc4dc1960 Add BitArray.Update() 2016-09-05 18:26:43 -07:00
Silas Davis b0c0631468 Spelling 2016-07-13 18:50:06 +01:00
Ethan Buchman 3dabf304a1 fix race condition in repeat_timer 2016-06-26 01:00:51 -04:00
Ethan Buchman dcfa46af13 BitArray.IsEmpty() 2016-03-18 02:30:15 -04:00
Jae Kwon 461c3b9785 Remove CRand* from go-common 2016-03-13 09:57:10 -07:00
Jae Kwon 1559ae1ac9 Add BitArray.Bytes() 2016-02-21 00:14:08 -08:00
Ethan Buchman 9364accf1f service: start/stop logs are info, ignored are debug 2016-02-03 02:04:00 -05:00
Ethan Buchman 02022e356a make ignore already stopped service Debug 2016-02-02 16:19:46 -05:00
Jae Kwon 19f5a93cff Adjust Service log notice for duplicate stops 2016-01-18 13:19:11 -08:00
Jae Kwon 8dacd4172e Fix bug where Unset halts ThrottleTimer 2016-01-11 17:12:38 -08:00
Jae Kwon c58b1cbf8a Add ThrottleTimer.Unset 2016-01-10 08:12:10 -08:00
Jae Kwon f592570310 Change license to Apache2.0 2015-12-23 14:14:41 -08:00
Jae Kwon 3b50efbe02 WriteFile*() takes file mode 2015-12-03 23:56:50 -08:00
Jae Kwon 4b6741ca3b EnsureDir() takes file mode 2015-12-03 23:44:24 -08:00
Jae Kwon dbd04eadeb Remove CList, moved to go-clist 2015-11-29 21:23:33 -08:00
Jae Kwon 80c7e26bee Fix memory-leak in CList; Patched with DetachPrev/DetachHead 2015-11-27 14:09:15 -08:00
Jae Kwon 76189fde0d Add Remove() implementation, CList is doubly-linked 2015-11-27 13:04:24 -08:00
Jae Kwon c65e9e7d91 Added CList 2015-11-25 16:50:28 -08:00
Jae Kwon 0424228e97 Added net.go Connect() 2015-11-05 15:00:42 -08:00
Jae Kwon 6b54e7b8d9 Added License 2015-10-22 12:30:20 -07:00
Jae Kwon 16372365c4 First commit 2015-10-21 12:15:19 -07:00