Moved slave buffer size defines to config