Normally when trading with villagers, they can only restock their trades 2 times per day whenever they work on their profession.
Ever since the 1.14.4 update, that buffed their trades and can work all day even when they don't restock, they actually will restock whenever they do their work after their trades are fully locked after 2 times.
To reproduce:
Get a villager with a profession (Any profession)
Lock his trades (Must be day time)
They will work and do their 2nd and final restock (As it normally works)
His 3rd work (after all the trades are locked after 2 times per day), it will continue to restock non-stop till it almost gets to the sunset.
Sorry for the weird explanation, but thats what I have been experiencing.
Thank you for your report!
We're actually already tracking this issue in MC-157136, so I resolved and linked this ticket as a duplicate.
However, that ticket has already been resolved. Depending on the resolution, that can mean that it either will be fixed in the next version, or that it is not considered a bug and won't be fixed.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.