1 Jan 2011 16:09
Re: /settings/timeout/volatile not being honored?
Paul Alfille <paul.alfille <at> gmail.com>
2011-01-01 15:09:29 GMT
2011-01-01 15:09:29 GMT
You are using the timeout correctly, but there may be an issue with whether the timeout is sent to the owserver. What's your program setup? i.e. are you accessing owserver via owfs or owhttpd? You may have to set bus.0/settings/timeout_volatile. Paul On Thu, Dec 30, 2010 at 1:53 AM, Eloy Paris <peloy <at> chapus.net> wrote: > Hello, > > I set (dynamically) /settings/timeout/volatile to 300 seconds but doing > successive "cat /owfs/≤device address>/temperature" (a few seconds > apart) still causes owserver to go out and fetch a new temperature > sample (I think this is the case because the cat operation pauses a few > seconds instead of printing data right away). I would have expected to > get the same (cached) temperature for the next 300 seconds. > > Am I misunderstanding the way /settings/timeout/volatile should work? Is > there a good way to check that owserver is honoring the volatile timeout > and that it is not going out to the bus to fetch new data? > > I am running 2.8p1 and my bus master is a LinkUSB. > > What I want to accomplish by changing /settings/timeout/volatile is to > prevent a process from blocking while the temperature file is being > read. Is there a better way than relying on the volatile timeout? I > thought that caching would help me here.(Continue reading)
RSS Feed