Hi.
I use the following settings:
mine-empty-rounds = 10
and
target-adjust-freq = -1
But it does not stop mining after 10 blocks even if there are no new transactions.
On a connected network it seems to work, but on a single node network it does not stop.
Greetings,
Alex