configuring max in flight