pg_timetable v2.2.0 Release Notes
Release Date: 2020-05-20 // over 3 years ago-
๐ Changelog
[!]
add--init
command line argument fixes #128, closes #129 f441bfc
๐ป[!]
add--no-help
command line argument to suppress help output 18768b0
[!]
add Grafana dashboard to monitor chain execution stats dd8608c
[!]
implement custom startup script support with--file
, closes #131 e66ece0
[!]
implement autonomous tasks
โ[+]
add context argument toInitAndTestConfigDBConnection()
4acfaf5
[+]
add context arguments to migrations routines 4acfaf5
[+]
add context arguments to transactions, access and shell routines #118 9b599c2 4acfaf5
[+]
add context topgengine.ReconnectDbAndFixLeftovers()
and use channels
โฑ[+]
add context toscheduler.Run()
[+]
addpgengine.IsAlive()
method
[+]
add reconnection routine to themain()
[+]
add sample for autonomous task
[+]
makecmdparser
100% covered with tests, resolves #126 8e787f8
[+]
make built-in 100% tasks 5778939
โ[+]
make download task 100% covered with tests 1f193e1
โ[+]
make mail task 100% covered with tests febeb1f
๐ท[+]
pass derived contexts to chain workers goroutines
[+]
return ConnectionDropped after failedpgengine.IsAlive()
[+]
rewrite reconnecting routing with channels and context #118 787628a c2cc25d
[+]
set timeout for initial connection to 90 sec #118 19dbca7 9d4c5c4
๐ฒ[*]
improve log messages for reconnection tries #118 4ee0cc3
โ[*]
makeInitAndTestConfigDBConnection()
return boolean 4e1e2c8
[*]
makeMigrateDb()
andCheckNeedMigrateDb()
return boolean #118 4e1e2c8 828f8f2
[*]
makepgengine.WaitTime
public const 032ab3e a1c63ce
โ[*]
pass context argument toInitAndTestConfigDBConnection()
in tests #118 223f1d9 693e817
๐ฒ[*]
prettify log strings 65afcb1
๐จ[*]
refactor command line handling b87995f
๐[*]
remove reconnection routine from pgengine.LogToDB()
๐[*]
set cyclomatic complexity to 16 for linter; resolves #122 73d29fa
[-]
fix "if
block ends with areturn
statement, so drop thiselse
and outdent its block" 16fa2ee 3f8c518
[-]
fix "Cannot log to the database: pq: relation "timetable.log" does not exist" #118 25df3de 74ee9e6
[-]
fix "exported func Run returns unexported type scheduler.runStatus, which can be annoying to use" 310fd5d 3363398
[-]
fix "Host in--pgurl
parameter ignored if port is not specified" f441bfc
โฑ[-]
fix "interval chains are not rescheduled if a database error occurs" f6dcb97
โฑ[-]
fix "return" to "continue" inscheduler.intervalChainWorker()
8226433
๐จ[-]
fix "S1039: unnecessary use of fmt.Sprintf" 8226433
[-]
fix tests connection string 3106fa4 e32cb76
[-]
fix verbose level output
[-]
makescheduler.Run()
return runStatus type #118 20c08e0 d07a486
โฑ[-]
reschedule interval chains in a separate goroutines acf02ec