[workshop] Make ws time and grace period configurable.