Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Run struct and fixes under the same lock | d046942317c73351473a18eb833318aec3f4d907 | Catalin(ux) M. BOIE | 2021-11-14 08:18:05 |
spec file small updates | 7aef02df6ed5f6ce4d39cd2a926a79bcdc1a3c5a | Catalin(ux) M. BOIE | 2021-11-14 06:33:35 |
Typo | b0087441b4d637c7bf6ed64b6c243ad2ec8f1493 | Catalin(ux) M. BOIE | 2021-11-14 06:15:00 |
spec: Added 'Replaces: rocketgit' to easy upgrade, fixed fixfiles | c380f40fe86ddf70b99030a6f0be93d91137b909 | Catalin(ux) M. BOIE | 2021-11-14 06:14:25 |
Fixed non debug case of rg_debug_html | 523f6784671e5f810b8435ad66ad21ea548219d8 | Catalin(ux) M. BOIE | 2021-11-14 05:58:37 |
Fix rate limit types | 0de3ee35d0d0e46521d64a596232765fb5d618a3 | Catalin(ux) M. BOIE | 2021-11-14 05:58:03 |
commented request_slowlog_timeout | 505877b567807e11f25695de58725f316f10043e | Catalin(ux) M. BOIE | 2021-11-13 17:32:46 |
systemctl git.socket rethinking | 3c71e58760f6abc69db661098840c277d4fc13fb | Catalin(ux) M. BOIE | 2021-11-13 17:25:52 |
PHP FALSE verus NULL correction | 42f8bc560a0ec2203f0974e203e6c33ec26aa983 | Catalin(ux) M. BOIE | 2021-11-13 16:31:33 |
.spec: some minor corrections | 70c3a23f507d57c729e0d710ec99060e0e88c238 | Catalin(ux) M. BOIE | 2021-11-13 16:22:11 |
Rework locking for struct update | da8c09e15e485563d9573de3aff2a7ad999d2527 | Catalin(ux) M. BOIE | 2021-11-13 16:15:45 |
gpg: specify rsa 4096 instead of default because it does not work on f34 | eccdc02a82ce87f426eebc995988f907d914a3c7 | Catalin(ux) M. BOIE | 2021-11-13 16:15:15 |
Cosmetic | 0b0a9f2d1922d4d28052c6b1fbe737cc4302ce73 | Catalin(ux) M. BOIE | 2021-11-13 16:14:37 |
PHP8 corrections | 51f2cabc7298b5006bf8f0d215c1a338bee92cdb | Catalin(ux) M. BOIE | 2021-11-13 16:13:13 |
.spec: require openldap-servers to test LDAP | 84e469d5d9fe81509ff3421bdb6517786ea96628 | Catalin(ux) M. BOIE | 2021-11-06 20:09:07 |
Cosmetic | a4543d8257235dc5c93dd5eecdfb9caa3c2acafa | Catalin(ux) M. BOIE | 2021-11-02 07:04:36 |
Fixed partion create logic | c8897c0e6f31a0ab917d2320018c5920e0abd36b | Catalin(ux) M. BOIE | 2021-11-02 06:01:58 |
Typos corrected | c1a5002a1763327f4df8d5d0b419fcc2604f4698 | Catalin(ux) M. BOIE | 2021-10-30 11:08:34 |
compare: Updated number of lines | d1052eb4b72309dd216e3fd0da2dd311bbeb1383 | Catalin(ux) M. BOIE | 2021-10-30 10:56:39 |
Added docs for distro pkgs | 401c582772303eff8ba7fde3fcf09064d11bf828 | Catalin(ux) M. BOIE | 2021-10-30 10:47:43 |
File | Lines added | Lines deleted |
---|---|---|
inc/events.inc.php | 2 | 2 |
inc/log.inc.php | 18 | 0 |
inc/sql.inc.php | 1 | 1 |
inc/struct.inc.php | 3 | 7 |
scripts/events.php | 1 | 1 |
File inc/events.inc.php changed (mode: 100644) (index 8672021..411f82e) | |||
... | ... | function rg_event_notify(&$notify_list, $ev_id, $misc) | |
242 | 242 | function rg_event_process_queue($db, &$notify_list) | function rg_event_process_queue($db, &$notify_list) |
243 | 243 | { | { |
244 | 244 | rg_prof_start("event_process_queue"); | rg_prof_start("event_process_queue"); |
245 | rg_log_enter('event_process_queue: notify_list: ' | ||
245 | rg_log_enter_debug('event_process_queue: notify_list: ' | ||
246 | 246 | . rg_array2string($notify_list) . '.'); | . rg_array2string($notify_list) . '.'); |
247 | 247 | ||
248 | 248 | $ret = FALSE; | $ret = FALSE; |
... | ... | function rg_event_process_queue($db, &$notify_list) | |
308 | 308 | break; | break; |
309 | 309 | } | } |
310 | 310 | ||
311 | rg_log_exit(); | ||
311 | rg_log_exit_debug(); | ||
312 | 312 | rg_prof_end("event_process_queue"); | rg_prof_end("event_process_queue"); |
313 | 313 | return $ret; | return $ret; |
314 | 314 | } | } |
File inc/log.inc.php changed (mode: 100644) (index eaa99f1..382820e) | |||
... | ... | function rg_log_enter_ml($a) | |
247 | 247 | $rg_log_level++; | $rg_log_level++; |
248 | 248 | } | } |
249 | 249 | ||
250 | function rg_log_enter_debug($a) | ||
251 | { | ||
252 | global $rg_log_level; | ||
253 | |||
254 | if (!rg_debug()) | ||
255 | return; | ||
256 | |||
257 | rg_log($a); | ||
258 | $rg_log_level++; | ||
259 | } | ||
260 | |||
250 | 261 | function rg_log_exit() | function rg_log_exit() |
251 | 262 | { | { |
252 | 263 | global $rg_log_level; | global $rg_log_level; |
... | ... | function rg_log_exit() | |
257 | 268 | $rg_log_level--; | $rg_log_level--; |
258 | 269 | } | } |
259 | 270 | ||
271 | function rg_log_exit_debug() | ||
272 | { | ||
273 | if (!rg_debug()) | ||
274 | return; | ||
275 | |||
276 | rg_log_exit(); | ||
277 | } |
File inc/sql.inc.php changed (mode: 100644) (index 6deab38..c2c209d) | |||
... | ... | function rg_sql_query0($db, $sql, $r, $start_ts, $ignore, &$ignore_kicked) | |
193 | 193 | ||
194 | 194 | $state = rg_sql_last_error_code($res); | $state = rg_sql_last_error_code($res); |
195 | 195 | if ($state === FALSE) { | if ($state === FALSE) { |
196 | $err = $sql . ': get: pg_result_error_field error'; | ||
196 | $err = $sql . ': pg_result_error_field error'; | ||
197 | 197 | break; | break; |
198 | 198 | } | } |
199 | 199 | if (($state !== NULL) && (strcmp($state, '00000') !== 0)) { | if (($state !== NULL) && (strcmp($state, '00000') !== 0)) { |
File inc/struct.inc.php changed (mode: 100644) (index 0264ff3..24e988e) | |||
... | ... | function rg_struct_ok($db) | |
1103 | 1103 | if ($ud === FALSE) | if ($ud === FALSE) |
1104 | 1104 | break; | break; |
1105 | 1105 | ||
1106 | if ($ud === 0) { // struct update not needed | ||
1107 | $uf = rg_fixes_needed($db); | ||
1108 | if ($uf === FALSE) | ||
1109 | break; | ||
1110 | } else { | ||
1111 | $uf = 0; | ||
1112 | } | ||
1106 | $uf = rg_fixes_needed($db); | ||
1107 | if ($uf === FALSE) | ||
1108 | break; | ||
1113 | 1109 | ||
1114 | 1110 | $err = FALSE; | $err = FALSE; |
1115 | 1111 | $locked = FALSE; | $locked = FALSE; |
File scripts/events.php changed (mode: 100644) (index d838b6c..0e91311) | |||
... | ... | do { | |
142 | 142 | break; | break; |
143 | 143 | ||
144 | 144 | // Wait for signal | // Wait for signal |
145 | rg_log("Waiting for signal..."); | ||
145 | rg_log_debug('Waiting for signal...'); | ||
146 | 146 | $r2 = $conn_table['r']; | $r2 = $conn_table['r']; |
147 | 147 | $w2 = $conn_table['w']; | $w2 = $conn_table['w']; |
148 | 148 | $e2 = array(); | $e2 = array(); |