Commit 2b2af11c authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Default to 1.0s timeouts for compatibility/benchmarking purposes.

parent a114c594
......@@ -163,9 +163,11 @@ func (me *LoopbackFileSystem) RemoveXAttr(name string, attr string) Status {
}
func (me *LoopbackFileSystem) FillOptions(options *PathFileSystemConnectorOptions) {
options.NegativeTimeout = 3.0
options.AttrTimeout = 3.0
options.EntryTimeout = 3.0
// These options are to be compatible with libfuse defaults,
// making benchmarking easier.
options.NegativeTimeout = 1.0
options.AttrTimeout = 1.0
options.EntryTimeout = 1.0
}
////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment