api: set configurable ttl for redis job id storage

14 jobs for 47-set-ttl-for-job-ids-stored-in-redis in 20 minutes and 56 seconds (queued for 5 seconds)
Status Name Job ID Coverage
  Test
passed py3.5-min-mysql #21615

00:13:27

92.0%
passed py3.5-min-postgresql #21613

00:12:11

92.0%
passed py3.5-min-sqlite #21611

00:11:43

91.0%
passed py3.5-pypi-mysql #21628

00:07:59

92.0%
passed py3.5-pypi-postgresql #21614

00:13:24

92.0%
passed py3.5-pypi-sqlite #21612

00:13:05

91.0%
passed py3.6-min-mysql #21621

00:11:28

92.0%
passed py3.6-min-postgresql #21623

00:10:30

92.0%
passed py3.6-min-sqlite #21617

00:13:08

91.0%
passed py3.6-pypi-mysql #21622

00:13:31

92.0%
passed py3.6-pypi-postgresql #21620

00:12:08

92.0%
passed py3.6-pypi-sqlite #21618

00:13:16

91.0%
failed py3.5-pypi-mysql #21616

00:12:54

92.0%
failed py3.6-min-postgresql #21619

00:08:41

71.0%