Depending on your building choices idling a city can turn production into gildar or research. If you build a Tax Office, it increases your gildar output by IIRC 20% if you aren't building anything in the city. Similarly there's a building I think it's the Archivist that does something similar with research, giving a research boost if the city production queue is empty.