Change Product Stock When Customer Adds To Cart

I thought there used to be a setting to change when a customer puts something in cart for x minutes.

ie.

1 ball left in stock

customer #1 adds it to cart, not yet buys it

customer #2 adds ball to cart, get's message this product is currently out of stock, or even a message that someone might be buying it.

It's happening quite a lot lately that people want to buy something and upon checkout they can't buy it anymore because a diffrent customer bought the product.

We failed to find such a module on the marketplace