diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-02-26 12:24:52 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2019-03-01 18:28:21 +0300 |
commit | 55c41fbc469e7f9b5904a63efd608d9ce26d7288 (patch) | |
tree | 4fd6ae30f8408cbff850a0435556a99c1ea26edd /ugc/api.cpp | |
parent | 84c4861b570f091d3b0aa58b0aa7fc26ecc8986a (diff) |
[ugc] save ugc file index immediately + tests.
Diffstat (limited to 'ugc/api.cpp')
-rw-r--r-- | ugc/api.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ugc/api.cpp b/ugc/api.cpp index 4df90ed104..172bda4bc2 100644 --- a/ugc/api.cpp +++ b/ugc/api.cpp @@ -54,11 +54,6 @@ void Api::SendingCompleted() m_thread.Push([this] { SendingCompletedImpl(); }); } -void Api::SaveUGCOnDisk() -{ - m_thread.Push([this] { SaveUGCOnDiskImpl(); }); -} - Loader & Api::GetLoader() { return m_loader; @@ -101,9 +96,4 @@ void Api::SendingCompletedImpl() { m_storage.MarkAllAsSynchronized(); } - -void Api::SaveUGCOnDiskImpl() -{ - m_storage.SaveIndex(); -} } // namespace ugc |