Because no localdisk means either s3 or google is the primary,
and none of them support efficient replication.
1) Added a dummy synchandler constructor for when config has "idle"
2) Set "idle" for synchandler config when no localdisk
3) fixed corresponding tests
Also:
- added error (and test) when no localdisk and both s3 and google
in config
- added s3 + mysql test
http://camlistore.org/issue/201
Change-Id: I861fdca0c203bc0181ab6d548adab501ed98d2f0
On FreeBSD DevAuth was showing up as consuming ~10% of the time when doing big
camputs. It disappears with this change. FreeBSD and Mac exec external
programs for localhost auth, so I imagine they'll both benefit.
On linux, checking the password in memory is (probably) still faster than
reading from /proc (which I'm assuming turns into a roundtrip
userland->kernel->userland which is nice to avoid).
Making the change to UserPass under the assumption the performance improvement
would be similar. Untested/unprofiled though.
Change-Id: Idb7e888df6e9a36db0be671a44911e018eb7986e
This change enables the ability to profile with:
go tool pprof http://<host>:<port>/debug/pprof/profile
Setting CAMLI_HTTP_PPROF=1 in your environment before running camlistored will
enable the handler.
Change-Id: I91993f5166e257e5be406a4d2c3e6bc0028a435a
Also made initTrustedCertsOnce a field of the Client
object, as it is a similar change.
http://camlistore.org/issue/104
Change-Id: Iabbd7f06e06d31265f390a23c4bdaac956f856f7
sockstat(1) is in the base system image, whereas lsof(1) is only avaible
through ports.
The addresses Issue 190
Change-Id: I5e3cd6b6c10d2aa75f799320d80acfd61275ea62
of enumerating Drive files, needs to be fixed once Drive supports
range queries. Allows you to sync to /sto-googledrive/, but not from.
Change-Id: I6ac5ef02c5f51a6abdab5c207a3a5693c6bb8581
-fail early when new config has sqlite but no sqlite installed
-hint at the server config doc url
-added windows with mysql section in the server config doc
-fixed typo in mongo indexer option
Change-Id: I4266eb6e34a55901e6af90a32eb1411fb5c37688
-dev-appengine populates the default sourceRoot.
-app.yaml filters out the go files from the static
resources
-the UI handler warns that sourceRoot is required
Change-Id: I816456a882ff4b0573bc8962cce85139d8a0f611
-added status handler to the config
-made pkg/jsonconfig/eval.go use the relative path
for the config file, since appengine does not like
absolute paths.
Change-Id: If9d275e308ae60e15ecd9c831e22fa6301de0be6
This fixes some bugs where we don't relayout when items are added
to BlobItemContainer for various reasons.
Change-Id: Ie434acc12e660af438b93d2dabd41f3d75fb7493
The add button still looks poo, but that will be a separate change.
Change-Id: Iea5fd53f7f4eabfc8c2ed45c043fcbd661b68077
Screenshots: http://imgur.com/JARUznn,tsv6dgU