File-based context: does it write even if no changes are made?

#1

The Local Filesystem Context Store has a property called flushInterval that defaults to 30 seconds, and the docs define this as "the minimum interval between writes to storage."

Is this writing to file only when the context has been changed, or is it writing regardless? It's not clear to me from the docs.

0 Likes

#2

Only when changed. If there is nothing to flush, it doesnt..

0 Likes

#3

Thanks @dceejay, the keyword 'minimum' kind of implies that, but I wasn't sure and didn't want to assume.

0 Likes