Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle "maximum size reached" error #1110

Closed
Koc opened this issue Jan 29, 2015 · 1 comment
Closed

Handle "maximum size reached" error #1110

Koc opened this issue Jan 29, 2015 · 1 comment
Milestone

Comments

@Koc
Copy link

Koc commented Jan 29, 2015

We are using typeahead with prefetch. And got uncatched exception

NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

return ls.setItem(this._prefix(key), encode(val));

Typeahead should handle this kind of exceptions

@jharding jharding added this to the v0.11.1 milestone Apr 25, 2015
@Rukkuror
Copy link

Hi,
I am using typeahead prefetch like below.

prefetch:
ttl: 250000
url: '/employees.json'
filter: (employees) ->
$.map employees, (employee) ->
{ name: employee }
limit: 25

Here employees.json is huge in size. I am getting the storage error

NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

Someone please help ASAP to resolve this.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants