Add archive duration setting for each channel (issue #3377)