add max_pred_locks_per_transaction
smart cron