Jessica Durando

USA TODAY

A factory that produces the popular Sriracha hot sauce has 90 days to better contain its fumes after a decision by a California city council to label it a public nuisance.

The Irwindale City Council's resolution Wednesday evening enables city officials to make changes if the smells continue after the factory's deadline has past, the Associated Press reports.

Huy Fong Foods, represented by Attorney John Tate, opened the Sriracha plant in Irwindale two years ago, according to the AP. Tate told the AP that the factory had been working with the South Coast Air Quality Management District on the filtration system since complaints from residents first happened.

Irwindale city residents, east of Los Angeles, sued Huy Fong Foods in October alleging the company refused to do enough to contain the fumes, which people said irritated eyes and throats.

In November, Los Angeles Superior Court Judge Robert O'Brien ruled that the factory must stop any operations that cause the noxious fumes but denied a request that all operations stop.

Since then, several residents complained that the smell has continued, according to the AP.

Huy Fong Foods was founded over 30 years ago by David Tran, an ethnic Chinese immigrant from Vietnam.

Follow @jessicadurando on Twitter