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

Filesystem Storage, USB Device #78

Closed
Sineos opened this issue Oct 29, 2018 · 1 comment
Closed

Filesystem Storage, USB Device #78

Sineos opened this issue Oct 29, 2018 · 1 comment
Labels
🚀enhancement New feature or request 🚩Node-RED
Milestone

Comments

@Sineos
Copy link

Sineos commented Oct 29, 2018

Im Moment ist es möglich zwischen memory und localfilesystem zu wählen.
Ich fände es gut, wenn eine localfilesystem Option angelegt würde, diese aber nicht default ist.
Meiner Meinung nach macht eine generelle filesystem persistence wenig Sinn, außer den Datenträger zu stressen, für manche Themen allerdings wäre es hilfreich.

contextStorage: {
   "default": {
      "module":"memory"
   },
   "contextFile": {
      "module":"localfilesystem",
      "config": {
         "dir": "/media/usb1/redmatic/"
      }
   }
}

Ganz genial wäre noch, wenn das Setup erkennen würde, dass ein USB Drive vorhanden ist, und dann den Pfad gleich dorthin umbiegt.

So kann jeder nach Notwendigkeit flow.set('bla', blubb, 'contextFile') verwenden

@hobbyquaker hobbyquaker added the 🚀enhancement New feature or request label Oct 29, 2018
@hobbyquaker hobbyquaker added this to the 2.0 milestone Oct 29, 2018
@hobbyquaker
Copy link
Member

related: #54

@hobbyquaker hobbyquaker changed the title [FR] Filesystem Storage Filesystem Storage, USB Device Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀enhancement New feature or request 🚩Node-RED
Development

No branches or pull requests

2 participants