Typically, automatic recovery takes anywhere between a few seconds and a few minutes per database.
The amount of time depends on the size of the database, the size of the transaction log, and the number and size of the transactions that must be committed or rolled back.
Use sp_configure with the recovery interval in minutes parameter to specify the maximum permissible recovery time. SAP ASE runs automatic checkpoints often enough to recover the database within the period of time you specify.
sp_configure "recovery interval in minutes", 3