mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-05-01 17:03:07 +03:00
[cdc_stream] Fix issues found in tests (#40)
* [cdc_stream] Fix issues found in tests Fixes a couple of issues found by integration testing: - Unicode command line args in cdc_stream show up as question marks. - Log is still named assets_stream_manager instead of cdc_stream. - An error message contains stadia_assets_stream_manager_v3.exe. - mount_dir was not the last arg as required by FUSE - Promoted cache cleanup logs to INFO level since they're important for the proper workings of the system. - Asset streaming cache dir is still %APPDATA%\GGP\asset_streaming. * Address comments
This commit is contained in:
@@ -330,10 +330,10 @@ void DataProvider::CleanupThreadMain() {
|
||||
WriterMutexLockList locks;
|
||||
LockAllMutexes(&locks);
|
||||
chunks_updated_ = false;
|
||||
LOG_DEBUG("Starting cache cleanup");
|
||||
LOG_INFO("Starting cache cleanup");
|
||||
Stopwatch sw;
|
||||
absl::Status status = writer_->Cleanup();
|
||||
LOG_DEBUG("Finished cache cleanup in %0.3f seconds", sw.ElapsedSeconds());
|
||||
LOG_INFO("Finished cache cleanup in %0.3f seconds", sw.ElapsedSeconds());
|
||||
next_cleanup_time =
|
||||
steady_clock_->Now() + std::chrono::seconds(cleanup_timeout_sec_);
|
||||
absl::MutexLock cleaned_lock(&cleaned_mutex_);
|
||||
|
||||
Reference in New Issue
Block a user