wallet: add a 10mn meta refresh to prevent ajax graph leaks

This commit is contained in:
Tanguy Pruvot 2017-06-20 21:57:30 +02:00
parent 066da4d8e1
commit 87f89c9a4f

View file

@ -8,6 +8,9 @@ if (!$coin) {
$this->pageTitle = 'Wallet - '.$coin->symbol;
// force a refresh after 10mn to prevent memory leaks in chrome
app()->clientScript->registerMetaTag('600', null, 'refresh');
if (!empty($coin->algo) && $coin->algo != 'PoS')
user()->setState('yaamp-algo', $coin->algo);