Heshan Perera
Heshan Perera

Reputation: 4630

Firefox Extension executeAsync Returns only 15 rows at a time

I am developing a firefox extension which reads and writes to a sqlite database. I ran an async query to fetch 20 rows from a database, and the callback function which handles the receipt of data gets called twice. The first time it return 15 rows and second time it return the last 5. Is this a standard value? If so, can this value be changed?

Upvotes: 1

Views: 77

Answers (1)

Wladimir Palant
Wladimir Palant

Reputation: 57651

Yes, executeAsync will return a result after at most 15 rows and 75ms execution time. No, this cannot be changed - the thresholds are hardcoded.

Upvotes: 2

Related Questions