Jeromy
ef294431d4
move util.Key into its own package under blocks
2015-06-01 16:10:08 -07:00
W. Trevor King
beb3bab205
blockservice/worker/bench/main: Add a package comment
2015-04-30 21:55:31 -07:00
Ho-Sheng Hsiao
bf22aeec0a
Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
...
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
Juan Batiz-Benet
91a79bc203
ratelimiter: fixing rate limiter use
...
Use of the ratelimiter should be conscious of the ratelimiter's
potential closing. any loops that add work to ratelimiter
should (a) only do so if the rate limiter is not closed,
or (b) prevent limiter while work is added
(i.e. use limiter.Go(addWorkHere))
2015-02-06 10:59:03 -08:00
Brian Tiger Chow
809e58f0dd
refac(blockservice) extract waitable
2015-02-01 21:54:20 -08:00
Juan Batiz-Benet
1a2307aff6
blockservice/worker: fix proc/limiter sync
...
see: https://gist.github.com/jbenet/6b8b45bde9d9fce17d57
I want to make the goprocess API nicer so it doesnt lead
users into this problem. any ideas?
2015-01-31 17:08:50 -08:00
Brian Tiger Chow
fadede41fc
deduplicate blocks in queue
2015-01-21 15:17:10 -08:00
Brian Tiger Chow
bf53888152
log err
2015-01-20 23:44:09 -08:00
Brian Tiger Chow
a6a6452692
fix(blockservice/worker) replace time.Tick with a timer we can stop
2015-01-20 23:43:21 -08:00
Brian Tiger Chow
e3c9f6db50
extract context func
...
@jbenet
would like it to work this way
2015-01-20 23:43:21 -08:00
Brian Tiger Chow
326e6f2a42
use rate-limiter
...
@jbenet
2015-01-20 23:43:21 -08:00
Brian Tiger Chow
ed019e2f7d
one worker
2015-01-20 23:43:21 -08:00
Brian Tiger Chow
721ff57263
fix(blockservice) fully async exchange.HasBlock
2015-01-20 23:43:21 -08:00