https://github.com/phstc/test-memory-leak-401
See https://github.com/phstc/shoryuken/issues/401
https://github.com/phstc/test-memory-leak-401
Last synced: 2 months ago
JSON representation
See https://github.com/phstc/shoryuken/issues/401
- Host: GitHub
- URL: https://github.com/phstc/test-memory-leak-401
- Owner: phstc
- Created: 2017-07-14T12:24:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-14T12:31:47.000Z (almost 9 years ago)
- Last Synced: 2025-06-19T10:46:37.516Z (about 1 year ago)
- Language: Ruby
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a test project for the memory leak problem @nickooolas and I are debugging. See [#401](https://github.com/phstc/shoryuken/issues/401).
## Running
Make sure to export AWS creds, also with permissions for creating a queue name `test`.
```shell
git clone git@github.com:phstc/test-memory-leak-401.git
cd test-memory-leak-401
./start.sh
```
`start.sh` will start a Shoryuken process with concurrency 5 and delay 5, same as reported in [here](https://github.com/phstc/shoryuken/issues/401#issuecomment-313974460)
The test worker will keep enqueuing back a single message delaying up to 5 minutes `rand(1..300)`.
For increasing the queue activity `bundle exec ./enqueue.rb 1000`, this will enqueue 1000 messages. These messages won't be enqueued back.