Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/nats-integration/config/nats.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ http_port: 8222

jetstream {
store_dir: "/data"
max_memory_store: 0
max_memory_store: 1GB
max_file_store: 10GB
}
6 changes: 5 additions & 1 deletion test/IntegrationTests/NatsIntegrationFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ public async ValueTask InitializeAsync()
// create the KV store
var kvContext = NatsConnection.CreateKeyValueStoreContext();
await kvContext.CreateOrUpdateStoreAsync(
new NatsKVConfig("cache") { LimitMarkerTTL = TimeSpan.FromSeconds(1), },
new NatsKVConfig("cache")
{
LimitMarkerTTL = TimeSpan.FromSeconds(1),
Storage = NatsKVStorageType.Memory
},
TestContext.Current.CancellationToken);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Buffers;
using Microsoft.Extensions.Caching.Hybrid;
using Moq;
using NATS.Client.Core;
using NATS.Net;

namespace CodeCargo.Nats.DistributedCache.UnitTests.Serialization;

Expand Down
Loading