Stresstest.php 458 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?php

namespace App\Http\Controllers;

use App;
use App\MetaGer;
use Cache;
use Illuminate\Http\Request;
use LaravelLocalization;
use Log;
use View;

Davide Aprea's avatar
Davide Aprea committed
13
class Stresstest extends MetaGerSearch
14
{
Davide Aprea's avatar
Davide Aprea committed
15
    public function index(Request $request, MetaGer $metager, $timing = false)
Davide Aprea's avatar
Davide Aprea committed
16
    {
Davide Aprea's avatar
Davide Aprea committed
17
        $request->merge(["eingabe" => rand()]);
Davide Aprea's avatar
Davide Aprea committed
18
        $metager->setDummy(true);
Davide Aprea's avatar
Davide Aprea committed
19
        $metager->setAdgoalHash(true);
Davide Aprea's avatar
Davide Aprea committed
20
        parent::search($request, $metager, $timing);
21
22
    }
}