Closed simonw closed 7 months ago
This thing HAMMERS the backend: https://github.com/datasette/datasette-paste/blob/450f0ec60c6bb76dfc8fb58773d9da317e2ebf0f/datasette_paste/templates/paste_create_table.html#L207-L230
That sends fetch() requests at the maximum rate allowed by the browser. It would be better to limit them to maybe 3 in parallel at a time?
fetch()
Some options from Claude 3 Opus: https://gist.github.com/simonw/fe2339966054fd78bc60c5b6413767c0
This thing HAMMERS the backend: https://github.com/datasette/datasette-paste/blob/450f0ec60c6bb76dfc8fb58773d9da317e2ebf0f/datasette_paste/templates/paste_create_table.html#L207-L230
That sends
fetch()
requests at the maximum rate allowed by the browser. It would be better to limit them to maybe 3 in parallel at a time?