xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 4d6349f7143d61583e6d2d9612c89b55af4eea97

Impoved debug for cache
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-03-26 09:36
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-03-26 09:36
Parent(s): 1610c997dbda53c0a21e301b51832d9285ecbcf2
Signing key:
Tree: 1a5c0d6e235601058e19e755fe62340e19744bc6
File Lines added Lines deleted
inc/cache.inc.php 7 1
File inc/cache.inc.php changed (mode: 100644) (index 04f1310..587c77d)
... ... function rg_cache_get($ns_var)
456 456 } }
457 457
458 458 if ($rg_cache_debug) if ($rg_cache_debug)
459 rg_log_ml('cache_get returns: ' . print_r($ret, TRUE));
459 rg_log_ml('cache_get[' . $ns_var . '] returns: '
460 . ($ret === FALSE ? 'FALSE' : print_r($ret, TRUE)));
460 461
461 462 rg_prof_end('cache_get'); rg_prof_end('cache_get');
462 463 return $ret; return $ret;
 
... ... function rg_cache_get($ns_var)
467 468 */ */
468 469 function rg_cache_set($ns_var, $value, $flags) function rg_cache_set($ns_var, $value, $flags)
469 470 { {
471 global $rg_cache_debug;
472
470 473 rg_prof_start('cache_set'); rg_prof_start('cache_set');
471 474
472 475 while (1) { while (1) {
 
... ... function rg_cache_set($ns_var, $value, $flags)
478 481 if ($ret === FALSE) if ($ret === FALSE)
479 482 break; break;
480 483
484 if ($rg_cache_debug)
485 rg_log_ml('cache_set[' . $ns_var . '] = ' . print_r($value, TRUE));
486
481 487 $ret = TRUE; $ret = TRUE;
482 488 break; break;
483 489 } }
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master