fixup! Adjust several operation's timeout threshold 86/324586/1
authorSeungbae Shin <seungbae.shin@samsung.com>
Tue, 3 Sep 2024 11:11:08 +0000 (20:11 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 21 May 2025 05:27:11 +0000 (14:27 +0900)
 - focus-client loop running check timeout : 2.5s -> 5s
 - focus-client loop running check interval: 20ms -> 40ms

[Version] 0.14.3
[Issue Type] Robustness

Change-Id: Icb765218b83dffbc563f2e3ab9b5aee818afaf91

mm_sound_focus_private.c
packaging/libmm-sound.spec

index 162cb15f6eafb7c4b29d374631cf6e69e43667c5..862f30778eb9938193fd519efb07aef44194169b 100644 (file)
@@ -299,7 +299,7 @@ SKIP_CB_AND_RET:
        return G_SOURCE_CONTINUE;
 }
 
-#define INTERVAL_MS 20
+#define INTERVAL_MS 40
 static int _focus_loop_is_running_timed_wait(GMainLoop *focus_loop, int timeout_ms)
 {
        int reduced_time_ms = timeout_ms;
@@ -579,7 +579,7 @@ int focus_watch_find_index_by_handle(int handle)
        return -1;
 }
 
-#define LOOP_RUNNING_WAIT_TIME_MS 2500
+#define LOOP_RUNNING_WAIT_TIME_MS 5000
 int focus_init_context(int index, bool is_for_watching)
 {
        int ret = MM_ERROR_NONE;
index 77932ce81a3a62a6603a0d5a9bdbd46ce2e2e27b..2e53a75cc915c70874336518b2c96c72f7eac385 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and focus server binary
-Version:    0.14.2
+Version:    0.14.3
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0