Skip to content
Success

Changes

Summary

  1. osmo_io: Increase default queue max_length from 32 to 1024 (details)
  2. gsmtap: Increase txqueue max_length from 64 to 1024 (details)
Commit 9cbc92e80e8a70131851b363c4438c216e559335 by Pau Espin Pedrol
osmo_io: Increase default queue max_length from 32 to 1024

The default value is way too low, and can be hit easily by apps
submitting several messages in one main loop run.
This is the case for instance of the Abis OML protocol, where a cascade
of "State Changed Event Reports" are sent for the whole object tree.

Set the default to a saner bigger value. In the end, increasing the
value doesn't hurt normal use of apps, and 1024 is still a fairly small
number to avoid the app eating the whole system memory if something
unexpected happens.

Change-Id: I92d5369af523f6297d45d4b534bb0f349ae74485
The file was modifiedsrc/core/osmo_io.c
Commit 5edb7d54a8265ad6f44afdd0d07eda041f54ed98 by Pau Espin Pedrol
gsmtap: Increase txqueue max_length from 64 to 1024

The default value may be too low for main loop iterations writing a lot
of output. Increase it to a saner value.

Change-Id: Ie737e1d060ea3ee48631604bbae1b8b84cf787b9
The file was modifiedsrc/core/gsmtap_util.c