From d158e5aadd9e341859aef4e35f979306f7fea565 Mon Sep 17 00:00:00 2001 From: Ulimo Date: Mon, 4 Dec 2023 23:51:48 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 053898d1c..44bdfed0e 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ builder.Services.AddFlowtideStream(b => { b.AddPlan(plan) .AddReadWriteFactory(factory) - .WithStateOptions(() => new StateManagerOptions() + .WithStateOptions(new StateManagerOptions() { // This is non persistent storage, use FasterKV persistence storage instead if you want persistent storage PersistentStorage = new FileCachePersistentStorage(new FlowtideDotNet.Storage.FileCacheOptions() @@ -168,4 +168,4 @@ var app = builder.Build(); app.UseFlowtideUI("/stream"); app.Run(); -``` \ No newline at end of file +```