- 15 1月, 2015 9 次提交
-
-
```Go e := log.EventBegin(ctx, "provide") e.Done() e := log.EventBegin(ctx, "provide") e.Close() // implements io.Closer in case you want to register with some lifecycle management system. ```
由 Brian Tiger Chow 提交于 -
more d3 niceness.
由 Juan Batiz-Benet 提交于 -
由 Matt Bell 提交于
-
race fixes
由 Brian Tiger Chow 提交于 -
由 Juan Batiz-Benet 提交于
-
All the datastores used by pinners and so on should be mutex wrapped. One issue with changing all of them from ds.Datastore -> ds.ThreadSafeDatastore is that we wrap the incoming ds.ThreadSafeDatastore with other datastores, which do not implement the interface. Re-wrapping again causes double locking. (which may be ok..., but...) any ideas?
由 Juan Batiz-Benet 提交于 -
testutil ci pkgs check env vars
由 Juan Batiz-Benet 提交于 -
由 Brian Tiger Chow 提交于
-
Good thing, i checked one wrong, too!
由 Juan Batiz-Benet 提交于
-
- 14 1月, 2015 31 次提交
-
-
由 Juan Batiz-Benet 提交于
-
diag/net: visualizing in d3 and dot
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
refactor(fsrepo.FSRepo): manage the Datastore and daemon.lock
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Brian Tiger Chow 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
"for each desired change, make the change easy (warning: this may be hard), then make the easy change" - Kent Beck https://twitter.com/KentBeck/status/250733358307500032 http://martinfowler.com/articles/preparatory-refactoring-example.html cc @jbenet @whyrusleeping
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
The struct was getting unmanageable. extracted the config component to reduce complexity. The datastore will be written as another component.
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
fix(fsrepo): extract private, unsynced method to prevent deadlock
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
no issue detected but it's good to be safe
由 Brian Tiger Chow 提交于 -
NB: daemon is one spot the repo lock is typically acquired
由 Brian Tiger Chow 提交于
-