Comments (6)
The idea there is that the system waits for a refresh signal during one
minute (it's named 'refresh' because I use this method a lot to trigger
screen refreshes when new data arrives). If after one minute there is no
signal received, it will check the database to see if a command has been
received without setting the refresh flag. So that signal goes wrong. That
would explain it.
On Tue, Feb 24, 2015 at 4:11 AM, Rory Aronson [email protected]
wrote:
Hey @TimEvWw https://github.com/TimEvWw, Rick and I were messing with
the latest bot and found that commands had a delay of about a minute. We
looked into the controller source code and found this:Is there a reason the + 60 is there?
—
Reply to this email directly or view it on GitHub
#50.
from farmbot_os.
Do you think there will be any repercussions for lowering the number more, maybe to 1
?
from farmbot_os.
Higher system load mainly. SQLite was a bit sluggish for continuous polling
for my taste (hence the refresh system) but it works as a quick fix.
On Tue, Feb 24, 2015 at 3:07 PM, Rick Carlino [email protected]
wrote:
Do you think there will be any repercussions for lowering the number
lower, like to 1?—
Reply to this email directly or view it on GitHub
#50 (comment)
.
from farmbot_os.
Ok, so menu.rb is scheduling a command, but not setting the refresh flag?
I removed the +60 altogether locally and watched the CPU go to 85% haha
from farmbot_os.
I think that the setting of the flag was done in the same routine as writing of the command but it was lost in refactoring. Will check.
Op 24-feb.-2015 om 22:35 heeft Rory Aronson [email protected] het volgende geschreven:
Ok, so menu.rb is scheduling a command, but not setting the refresh flag?
I removed the +60 altogether locally and watched the CPU go to 85% haha
—
Reply to this email directly or view it on GitHub.
from farmbot_os.
Refresh is modified.
from farmbot_os.
Related Issues (20)
- [Farmware] Did you stop supporting the local webserver on port 27347? HOT 10
- Need to Configure VintageNet `:internet_host` setting
- [bug, cosmetic] unhandled message in error state: after Farmware exits normally HOT 8
- A simulator for the farmbot HOT 10
- Feture Reuest: "After Unlock" Sequence Callback
- Unused variable warning is polluting the Serial Console :) 10.1.3 HOT 9
- "since last reflash" metrics and flags
- Lua Persistent Storage (K/V store)
- Mark As command does not update plant age
- Lua Assertion read_pin always returns 1, making programmatic tool verification unusable HOT 5
- Seems to be an issue HOT 2
- Can't flash Arduino with firmware HOT 5
- DIdnt see a Doc project, so putting this here. Hyperlink issue with doc webpage HOT 1
- fail to falsh fambot _os HOT 5
- WiFi Adapters HOT 6
- how can i change the broker ? HOT 2
- Boot Sequence execution may be delayed by earlier (overdue) FarmEvent sequence executions HOT 2
- Water keeps running if FB stalls during the execution of a sequence / Risk of flooding HOT 1
- Sequence Not Found error is not sent back to MQTT RPC Client
- Configurator Improvements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from farmbot_os.