Though the eclipse on August 21, 2017 has a maximum totality of 2 minutes and 40.2 seconds, the maximum totality for an eclipse can be much longer.
Seven minutes and 32 seconds to be exact. The next solar eclipse coming close to maximum totality won’t occur until June 13, 2132 and will last for 6 minutes and 55 seconds.