mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-09 08:43:13 +08:00
Ensured orphan visits are located ASAP when using swoole
This commit is contained in:
@@ -109,6 +109,11 @@ class Visit extends AbstractEntity implements JsonSerializable
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isOrphan(): bool
|
||||
{
|
||||
return $this->shortUrl === null;
|
||||
}
|
||||
|
||||
public function jsonSerialize(): array
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user