Update persistence.md (#1394)

Typo
pull/1396/head
dido77-arduino 2020-12-28 09:19:53 +01:00 committed by GitHub
parent db44f6b003
commit 0aeb113360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ The good thing about `rrd4j` is that the database never grows beyond a given siz
However, the way it achieves this (replacing ten readings with the average of the ten readings as the data gets older) makes the database not work for all Item types.
If you need to `restoreOnStartup` unsupported Item types, `MapDB` might be a better choice for you.
## Why Bother with Persitence?
## Why Bother with Persistence?
The reason one would set up both the Model discussed in the previous tutorial and Persistence is that it will make creating your user interfaces much easier and much more rich.
For example, a set of UI pages will be created automatically in MainUI based on the model.
And just about anyplace you can interact with an Item in MainUI, there will be an "Analyze" button that will generate a chart based on the data saved in persistence.