On 09/03/2013 08:56 AM, Fernando Jiménez Moreno wrote:

>>
>> That sounds like a bit of a dangerous plan to me, without some sort of
>> throttling. If an app (perhaps because it's sub-optimally coded) makes
>> 100 writes to IndexedDB in quick succession, and they all fail, you
>> don't want 100 notifications.
>>
> 
> Good point. That sounds more like an implementation detail though :). We'll 
> have to take that into account when working on the Gaia side of this.

Yes, we should throttle and/or coalesce by app these notifications. So
you could know easily that "AppXXX is trying to write while we have no
space left."

        Fbairce
-- 
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to