add option perflush to DepositCommand
add redis