On the one hand, people like to advertise the high durability of LEDs, as long as a sufficient coloing of the LEDs is ensured. On the other hand, the operating conditions for the LED driver integrated in the luminaire housing must also be correct. For example, data of ta = -25 - +50°C (ta = temperature ambient) and a lifetime of 50,000 hours can only be expected, if the temperature is maintained at the tc point (tc = temperature case), e. g. <70°C.
Usually the LEDs are cooled via the housing, which is often already a steamy environment for the LED control gear. This is often the reason why manufacturers sometimes operate the LED control gear in an external housing.
By the way, a high tc value does not automatically indicate that the LED driver can also be operated at higher ambient temperatures..
As a general rule: the lower the temperatures in and around the LED driver, the longer the electrolytic capacitors will last.
Further articles on this topic can be found here.
The topic of switching frequency as a characteristic that determines the lifetime is more applicable to the switch itself, since the inrush currents of some LED operating devices can be unexpectedly high and can cause some fuses to trip. These inrush currents can assume values of 5-20A for a short time (e. g. 50µs). If several devices are operated in parallel, the fuse will react.