github cybertec-postgresql/pg_timetable v2.2.0

latest releases: v6.2.0, v6.1.0, v6.0.0...
5 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 to InitAndTestConfigDBConnection() 4acfaf5
[+] add context arguments to migrations routines 4acfaf5
[+] add context arguments to transactions, access and shell routines #118 9b599c2 4acfaf5
[+] add context to pgengine.ReconnectDbAndFixLeftovers() and use channels
[+] add context to scheduler.Run()
[+] add pgengine.IsAlive() method
[+] add reconnection routine to the main()
[+] add sample for autonomous task
[+] make cmdparser 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 failed pgengine.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
[*] make InitAndTestConfigDBConnection() return boolean 4e1e2c8
[*] make MigrateDb() and CheckNeedMigrateDb() return boolean #118 4e1e2c8 828f8f2
[*] make pgengine.WaitTime public const 032ab3e a1c63ce
[*] pass context argument to InitAndTestConfigDBConnection() 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 a return statement, so drop this else 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" in scheduler.intervalChainWorker() 8226433
[-] fix "S1039: unnecessary use of fmt.Sprintf" 8226433
[-] fix tests connection string 3106fa4 e32cb76
[-] fix verbose level output
[-] make scheduler.Run() return runStatus type #118 20c08e0 d07a486
[-] reschedule interval chains in a separate goroutines acf02ec

Don't miss a new pg_timetable release

NewReleases is sending notifications on new releases.