Sha256: b0d43fab4f2e1aa949acf8588d9a64c4420606dd9c3aba755e98adac35c64bb0

Contents?: true

Size: 874 Bytes

Versions: 9

Compression:

Stored size: 874 Bytes

Contents

#!/usr/bin/env puma

# This option is crucial, otherwise puma would wait for all the clients to disconnect before accepting to restart
# If you run Pubsubstub as a standalone server 0 seconds is recomended since the clients will reconnect
# and receive the scrollback anyway.
#
# But if you run Pubsubstub as an embeded Rack application, you want this to consider what is a
# decent timeout for the application.

force_shutdown_after 0


# min, max thread. The max define how much conccurent clients you can handle.
# If all threads are occupied the client will be stuck. Make sure to configure this appropriately.
# If you run Pubsubstub as a standalone, the cost of each thread is really low, so you can easilly have this quite high.
threads 0, 16

# If you notice your standalone pubsubstub server is starving for CPU, you can run puma in multi-process mode.
# workers 2

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pubsubstub-0.3.0 example/puma_config.rb
pubsubstub-0.2.2 example/puma_config.rb
pubsubstub-0.2.1 example/puma_config.rb
pubsubstub-0.2.0 example/puma_config.rb
pubsubstub-0.1.3 example/puma_config.rb
pubsubstub-0.1.2 example/puma_config.rb
pubsubstub-0.1.1 example/puma_config.rb
pubsubstub-0.1.0 example/puma_config.rb
pubsubstub-0.1.0.beta1 example/puma_config.rb