setSleepThreshold request

I should start with, thank you for writing this. Box2D is fantastic.

My only request is for a setSleepThreshold() function. Ideally this could be set for either bodies or the world.

After scaling everything to fall between 0.1 and 10, everything works perfectly. I want it to be able to work a little less perfectly. If that makes any sense.

cheers.
Check out the values defined for this in b2Settings.h - it might be enough to cover your needs:
Code:
/// The time that a body must be still before it will go to sleep.
#define b2_timeToSleep            0.5f

/// A body cannot sleep if its linear velocity is above this tolerance.
#define b2_linearSleepTolerance      0.01f

/// A body cannot sleep if its angular velocity is above this tolerance.
#define b2_angularSleepTolerance   (2.0f / 180.0f * b2_pi)

Original thread: https://box2d.org/forum/viewtopic.php?t=7999