A catch with persistent file stores

You can always change the flush interval;

    contextStorage: {
      default: "file",
    memoryOnly: { module: 'memory' },
          file: { module: 'localfilesystem',
          config: {
                  flushInterval: '10'
                  },
           },
    },