Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands handle using sqlite #226

Merged
merged 4 commits into from
Aug 30, 2016
Merged

Commands handle using sqlite #226

merged 4 commits into from
Aug 30, 2016

Conversation

javo
Copy link
Contributor

@javo javo commented Aug 22, 2016

In this PR the command storage logic is modified to use sqlite, creating a special table for pending commands and another for uploading files.
The goal of these changes is to avoid the previous corruption of the original command file when the pc is shutted down in the hard way, and keep a most organized set of commands in the file.

@javo javo changed the title Command handle using sqlite WIP: Commands handle using sqlite Aug 22, 2016
return cb();
var db_path, db_type, db_comm;

var db_commands = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

queries sounds better, queries.CREATE, etc...

@javo javo changed the title WIP: Commands handle using sqlite Commands handle using sqlite Aug 30, 2016
@javo javo merged commit f46ac38 into master Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants