Set timeout to 2 seconds for helper product-usage-notice-rules endpoint request (#50821)

This commit is contained in:
Akeda Bagus 2024-08-21 11:47:40 +07:00 committed by GitHub
parent dac8fa8eba
commit 9ef1b72fc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Set timeout to 2 seconds for helper product-usage-notice-rules endpoint request

View File

@ -1590,6 +1590,7 @@ class WC_Helper {
'product-usage-notice-rules', 'product-usage-notice-rules',
array( array(
'authenticated' => false, 'authenticated' => false,
'timeout' => 2,
) )
); );