Skip to content

Commit

Permalink
[linux] Fix server KVS init (project-chip#6840)
Browse files Browse the repository at this point in the history
Pushing given manual testing.
  • Loading branch information
erjiaqing authored May 15, 2021
1 parent 9ca740f commit 8a51de2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ void InitServer(AppDelegate * delegate)
#if CHIP_DEVICE_LAYER_TARGET_DARWIN
err = PersistedStorage::KeyValueStoreMgrImpl().Init("chip.store");
SuccessOrExit(err);
#elif CHIP_DEVICE_LAYER_TARGET_LINUX
PersistedStorage::KeyValueStoreMgrImpl().Init("/tmp/chip_server_kvs");
#endif

err = gRendezvousServer.Init(delegate, &gServerStorage);
Expand Down

0 comments on commit 8a51de2

Please sign in to comment.