Instead of using a timer in periodic, start a command when teleop starts that waits 90 seconds, then enables the compressor. https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/wpilibj2/command/button/RobotModeTriggers.html