From d1dd13984271090307a91e730a5196503d32d95e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 29 May 2022 11:31:51 +0100 Subject: Update to NetFS 1.5 interface --- src/repoList.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/repoList.cpp') diff --git a/src/repoList.cpp b/src/repoList.cpp index 2a50421..7a69b78 100644 --- a/src/repoList.cpp +++ b/src/repoList.cpp @@ -1,5 +1,6 @@ #include "repoList.h" #include "repo.h" +#include #include #include #include @@ -33,3 +34,10 @@ GitFS::RepoList::connect(const ::std::string volume, const ::std::string auth, c } return Ice::uncheckedCast(ice.adapter->addWithUUID(std::make_shared(propReader))); } + +NetFS::SettingsPtr +GitFS::RepoList::getSettings(const ::Ice::Current & ice) +{ + const auto props = ice.adapter->getCommunicator()->getProperties(); + return std::make_shared(props->getPropertyAsIntWithDefault("Ice.MessageSizeMax", 1024)); +} -- cgit v1.2.3