janelia-flyem / dvid

Distributed, Versioned, Image-oriented Dataservice
http://dvid.io
Other
197 stars 33 forks source link

MaxInteractiveOpsBeforeBlock should be a config variable #285

Closed pgunn closed 6 years ago

pgunn commented 6 years ago

Right now this is set at compile-time in server/server.go.

It's reasonable that people might want to tune this based on how beefy their server is that's running DVID (unless DVID actually entirely blocks for some batch operations, which I hope it does not do).

(In case it's at all relevant, I'm doing some tiling)

DocSavage commented 6 years ago

I moved it to the TOML config and also made the default (0) give no blocking.