# \[API\] Database timeout error when deleting topics in bulk

**URL:** <https://meta.discourse.org/t/api-database-timeout-error-when-deleting-topics-in-bulk/66930>\
**Category:** Development\
**Created:** [July 27, 2017, 2:32pm UTC](https://meta.discourse.org/t/api-database-timeout-error-when-deleting-topics-in-bulk/66930 "2017-07-27T14:32:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [July 27, 2017, 4:26pm UTC](https://meta.discourse.org/t/api-database-timeout-error-when-deleting-topics-in-bulk/66930/3 "2017-07-27T16:26:09Z")

</div>

My dev instance is remote (1GB DigitalOcean droplet).

I lack knowledge here, but my current feeling is that API calls respond _before_ actually completing the task. Would this explain the current issue? (db overload) And [this other one](https://meta.discourse.org/t/incomplete-model-when-a-topic-has-just-been-created/66716)? (topic model not ready just after creation)

---

_[View the full topic](https://meta.discourse.org/t/api-database-timeout-error-when-deleting-topics-in-bulk/66930)._
