# 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:** 19

<div class="post-metadata">

**Author:** ![loic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loic/32/105621_2.png) [@loic](https://meta.discourse.org/u/loic)\
**Post date:** [March 14, 2025, 8:50am UTC](https://meta.discourse.org/t/sidekiq-hangs-on-botinput-job/352661/19 "2025-03-14T08:50:41Z")

</div>

> [@tgxworld](#):
>
> @loic Do you recall why we do not eager load the `lib` directory even in production?

It’s related to what’s explained here (when we upgraded to Rails 7.1): [Upgrading Ruby on Rails — Ruby on Rails Guides](https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#config-autoload-lib-and-config-autoload-lib-once)

I don’t remember the exact problem, but we actually kept the previous behavior, having to require things from `lib`.

---

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