depending on how intensely you train, how long it takes you to recover, if you are waiting for machines or weights, are you getting steps in between sets.
usually, if you are doing between 12-16 working sets for your training session (1-3 per exercise) and resting 2min between sets, including warm-ups an hour is good. remember doing more volume isn't always a good thing.
last year during my prep, with a training partner, my training sessions were an hour and 15mins. this year because I am doing a different split and I'm much stronger, I need more warm-ups and rest between sets, so I take an hour 30 and do steps in the gym for my rest periods.
if you do an upper-lower split where you are doing 1 exercise per muscle group and 2-3 working sets per exercise (highly effective I might add) you can be in and out of the gym in 50mins and if you train with any level of decent intensity, don't look at Instagram, and don't overdo the feeder/warm-up sets you are golden.