The localstorage was refreshed evey 30 second.
So if the time from data write to reboot was less than 30 second,
the data will not be saved.
Change the time period of the localstorage refresh to 0.
Related KONA:
RQ191204-01823
RQ191122-01180
Change-Id: If93fa74e9cb68977966b0cccb09e922b85927b36
Signed-off-by: Rob Limuel Samia <rl.samia@samsung.com>
}
base::TimeDelta StorageAreaImpl::ComputeCommitDelay() const {
+#if BUILDFLAG(IS_TIZEN_TV)
+ LOG(INFO) << "DOM localStorage set after an immediate reboot";
+ return base::TimeDelta::FromSeconds(0);
+#endif
+
if (s_aggressive_flushing_enabled_)
return base::Seconds(1);