-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snappy response #94
Comments
wooow: func SendCommand(command *Command, server string) error {
conn, err := net.DialTimeout("tcp", server, time.Millisecond*300)
...
} I'm apparently good at cli response time. I think TRTTD here would be to -- instead of trying a random server -- see if there is a local server open by having a
Its content can be a multiaddr with the socket to use to talk to the daemon rpc endpoint:
bradfitz already did the heavy lifting of making a portable lock file lib: https://github.com/camlistore/lock |
Im really impressed at your latency guess... Ill switch over to using a lockfile for daemon connections! |
So, the camlistore lock library doesnt allow you to put and file content in the lock file itself. Im thinking we could have the lock file, and another file nearby that contains the daemon addr to connect to |
Hmm wonder why it is. But yeah can use another file or a config value. (Writing one small file and writing the config are pretty much equiv).— On Sat, Sep 20, 2014 at 2:12 PM, Jeromy Johnson notifications@github.com
|
Ugh... i wish the camlistore lock library had defined error types, it makes it difficult to differentiate between "Bad path to file!" and "Lock already exists!"... i may fork it |
I beleive this has been solved and merged in... |
Deps/connmgr update
fix boostrap peers
…strap_peers fix boostrap peers
…strap_peers fix boostrap peers
…strap_peers fix boostrap peers
* feat: add namesys publish options * feat: export DefaultIPNSRecordEOL * feat: export DefaultIPNSRecordTTL This commit was moved from ipfs/interface-go-ipfs-core@468dea4 This commit was moved from ipfs/boxo@bcb9190
* feat: add namesys publish options * feat: export DefaultIPNSRecordEOL * feat: export DefaultIPNSRecordTTL This commit was moved from ipfs/interface-go-ipfs-core@468dea4 This commit was moved from ipfs/boxo@bcb9190
running a command like
ipfs ls
oripfs refs
locally feels a ~300ms slower than we could get it. is not doing much beyond reading a few files and printing out stuff, leveldb is pretty fast, so not sure what's up.The text was updated successfully, but these errors were encountered: