Commit Graph

12 Commits

Author SHA1 Message Date
Michael Avila
572844c262
Close provider on ipfs shutdown
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-04-08 20:49:28 -07:00
Steven Allen
1c3c138733 provider queue: don't repeatedly retry the same item if we fail
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-04 21:52:20 -07:00
Steven Allen
1f293eff1b chore: fix a bunch of issues caught by golangci-lint
Most of these are probably harmless but a few looked like they might actually be
bugs. Most of them are just faulty tests.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-29 11:57:45 +00:00
Michael Avila
fca85a2bdd Query for provider head/tail
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-27 11:34:59 +00:00
Erik Ingenito
906d2bd093 Don't do extra work in provider queue loop
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-16 09:53:34 -07:00
Erik Ingenito
6c1eca959e Make queue operation more clear
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 20:45:59 -07:00
Erik Ingenito
7fcafb6615 Gofmt
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 16:47:33 -07:00
Erik Ingenito
1595253b7b Remove locking entirely
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 14:19:19 -07:00
Erik Ingenito
5d4f3fbdec Cleanup, fix broken restart, and more tests.
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-15 11:23:37 -07:00
Erik Ingenito
8337035466 Provider queue updates to address deadlocks
License: MIT
Signed-off-by: Erik Ingenito <erik@carbonfive.com>
2019-03-14 16:54:55 -07:00
Michael Avila
dde397ebc1
Refactor per code climate rules
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-11 09:55:13 -07:00
Michael Avila
a9b6534687
Provide root node immediately when add and pin add
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
2019-03-08 14:27:43 -08:00