This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins
Martin Brennan 819efb0434
Revert "DEV: enables threadsafe for system tests"
This reverts commit b8100ad1ae.

This was causing many issues in CI, including AR connections
not being expired because of threading issues, which was also
causing rails_helper to raise an error because we had busy
connections at the end of spec runs.

```
Cannot expire connection, it is owned by a different thread:
/__w/discourse/discourse/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/thread_pool.rb:106
sleep_forever>. Current thread: #<Thread:0x00007f541966fcc8 run>.
```

And:

```
Failure/Error: raise ActiveRecord::Base.connection_pool.stat.inspect

RuntimeError:
  {:size=>5, :connections=>2, :busy=>2, :dead=>0, :idle=>0, :waiting=>0, :checkout_timeout=>5.0}
```

See https://github.com/discourse/discourse/actions/runs/3825882529/jobs/6509204143
for examples.
2023-01-03 11:38:51 +10:00
..
chat Revert "DEV: enables threadsafe for system tests" 2023-01-03 11:38:51 +10:00
discourse-details Update translations (#19340) 2022-12-06 16:22:23 +01:00
discourse-local-dates DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
discourse-narrative-bot Update translations (#19633) 2022-12-28 13:32:29 +01:00
discourse-presence DEV: Add extra whitespace to tidy up prettified templates 2022-12-28 13:11:12 +00:00
lazy-yt DEV: Add hidden option to disable the lazy-yt plugin (#19448) 2022-12-14 11:52:17 -03:00
poll DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
styleguide DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00