# Sidekiq hangs (on BotInput job?)

**URL:** <https://meta.discourse.org/t/sidekiq-hangs-on-botinput-job/352661>\
**Category:** Product Support\
**Tags:** discobot\
**Created:** [February 17, 2025, 8:21am UTC](https://meta.discourse.org/t/sidekiq-hangs-on-botinput-job/352661 "2025-02-17T08:21:30Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [March 10, 2025, 8:58am UTC](https://meta.discourse.org/t/sidekiq-hangs-on-botinput-job/352661/16 "2025-03-10T08:58:10Z")

</div>

Interesting find, thank you for looking into it.  
It’s hard to tell when such an intermittent problem goes away. I have removed that line on the three instances that hung the most often (one of them almost daily). I will check back in here either:

- when one of those instances hangs (we then know that this did not do the trick)
- on Friday if none of them hung (we can then start assuming it was the solution)

> [@tgxworld](#):
>
> Do you happen to have `Rails.application.config.eager_load` set to disable for some reason? 🤔

Nope, didn’t mess with that.

But someone did…

`Rails.autoloaders.main.do_not_eager_load(config.root.join("lib"))`

at [Blaming discourse/config/application.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blame/main/config/application.rb#L110)

---

_[View the full topic](https://meta.discourse.org/t/sidekiq-hangs-on-botinput-job/352661)._
