How soon should you take out vegetables from the fish tank?

I put a slice of zucchini in there for my catfish. How long can I leave it in?
1 answer 1