Updated On YABs delete foreget serevrs cache
This commit is contained in:
parent
dbb5225d45
commit
d129e966b9
|
@ -8,6 +8,7 @@ use App\Process;
|
||||||
use App\Models\DiskSpeed;
|
use App\Models\DiskSpeed;
|
||||||
use App\Models\NetworkSpeed;
|
use App\Models\NetworkSpeed;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
@ -108,6 +109,9 @@ class YabsController extends Controller
|
||||||
'has_yabs' => 1
|
'has_yabs' => 1
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Cache::forget('all_active_servers');//all servers cache
|
||||||
|
Cache::forget('non_active_servers');//all servers cache
|
||||||
|
|
||||||
return redirect()->route('yabs.index')
|
return redirect()->route('yabs.index')
|
||||||
->with('success', 'Success inserting YABs');
|
->with('success', 'Success inserting YABs');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user