mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Rollback cross regions connections
This commit is contained in:
parent
4963d98331
commit
4eafce998d
6 changed files with 0 additions and 14 deletions
|
|
@ -115,7 +115,6 @@ class Build extends Event
|
|||
$client = new Client($this->queue, $this->connection);
|
||||
|
||||
return $client->enqueue([
|
||||
'sourceRegion' => $this->getSourceRegion(),
|
||||
'project' => $this->project,
|
||||
'resource' => $this->resource,
|
||||
'deployment' => $this->deployment,
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@ class Certificate extends Event
|
|||
$client = new Client($this->queue, $this->connection);
|
||||
|
||||
return $client->enqueue([
|
||||
'sourceRegion' => $this->getSourceRegion(),
|
||||
'project' => $this->project,
|
||||
'domain' => $this->domain,
|
||||
'skipRenewCheck' => $this->skipRenewCheck
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ class Database extends Event
|
|||
|
||||
try {
|
||||
$result = $client->enqueue([
|
||||
'sourceRegion' => $this->getSourceRegion(),
|
||||
'project' => $this->project,
|
||||
'user' => $this->user,
|
||||
'type' => $this->type,
|
||||
|
|
|
|||
|
|
@ -111,14 +111,6 @@ class Event
|
|||
return $this->event;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function getSourceRegion(): string
|
||||
{
|
||||
var_dump('event Source Region='.System::getEnv('_APP_REGION'));
|
||||
return System::getEnv('_APP_REGION');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set project for this event.
|
||||
*
|
||||
|
|
@ -331,7 +323,6 @@ class Event
|
|||
$client = new Client($this->queue, $this->connection);
|
||||
|
||||
return $client->enqueue([
|
||||
'sourceRegion' => $this->getSourceRegion(),
|
||||
'project' => $this->project,
|
||||
'user' => $this->user,
|
||||
'userId' => $this->userId,
|
||||
|
|
|
|||
|
|
@ -222,7 +222,6 @@ class Func extends Event
|
|||
$events = $this->getEvent() ? Event::generateEvents($this->getEvent(), $this->getParams()) : null;
|
||||
|
||||
return $client->enqueue([
|
||||
'sourceRegion' => $this->getSourceRegion(),
|
||||
'project' => $this->project,
|
||||
'user' => $this->user,
|
||||
'userId' => $this->userId,
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ class Migration extends Event
|
|||
$client = new Client($this->queue, $this->connection);
|
||||
|
||||
return $client->enqueue([
|
||||
'sourceRegion' => $this->getSourceRegion(),
|
||||
'project' => $this->project,
|
||||
'user' => $this->user,
|
||||
'migration' => $this->migration,
|
||||
|
|
|
|||
Loading…
Reference in a new issue