Commit c175a0b5 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Set timeouts for GetAttr too.

parent 467a516c
......@@ -289,11 +289,7 @@ func (self *PathFileSystemConnector) GetAttr(header *InHeader, input *GetAttrIn)
out = new(AttrOut)
out.Attr = *attr
// TODO - how to configure Valid timespans?
out.AttrValid = 0
// 0.1 second
out.AttrValidNsec = 100e3
SplitNs(self.options.AttrTimeout, &out.AttrValid, &AttrValidNsec = 100e3
return out, OK
}
......
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