mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 13:23:33 +03:00
Update docs
This commit is contained in:
parent
4c76df91ce
commit
89e4ed5573
2 changed files with 8 additions and 2 deletions
|
@ -27,6 +27,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* [#285](https://github.com/shlinkio/shlink/issues/285) Visit location resolution is now done asynchronously but in real time thanks to swoole task management.
|
||||||
|
|
||||||
|
Now, when a short URL is visited, a task is enqueued to locate it. The user is immediately redirected to the long URL, and in the background, the visit is located, making stats to be available a couple of seconds after the visit without the requirement of cronjobs being run constantly.
|
||||||
|
|
||||||
|
Sadly, this feature is not enabled when serving shlink via apache/nginx, where you should still rely on cronjobs.
|
||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
|
||||||
* *Nothing*
|
* *Nothing*
|
||||||
|
|
|
@ -188,7 +188,7 @@ There are a couple of time-consuming tasks that shlink expects you to do manuall
|
||||||
|
|
||||||
Those tasks can be performed using shlink's CLI, so it should be easy to schedule them to be run in the background (for example, using cron jobs):
|
Those tasks can be performed using shlink's CLI, so it should be easy to schedule them to be run in the background (for example, using cron jobs):
|
||||||
|
|
||||||
* Resolve IP address locations: `/path/to/shlink/bin/cli visit:locate`
|
* **For shlink older than 1.18.0 or not using swoole as the web server**: Resolve IP address locations: `/path/to/shlink/bin/cli visit:locate`
|
||||||
|
|
||||||
If you don't run this command regularly, the stats will say all visits come from *unknown* locations.
|
If you don't run this command regularly, the stats will say all visits come from *unknown* locations.
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ Those tasks can be performed using shlink's CLI, so it should be easy to schedul
|
||||||
|
|
||||||
*Any of these commands accept the `-q` flag, which makes it not display any output. This is recommended when configuring the commands as cron jobs.*
|
*Any of these commands accept the `-q` flag, which makes it not display any output. This is recommended when configuring the commands as cron jobs.*
|
||||||
|
|
||||||
In future versions, it is planed that, when using **swoole** to serve shlink, some of these tasks are automatically run without blocking the request and also, without having to configure cron jobs. Probably resolving IP locations and generating previews.
|
> In future versions, it is planed that, when using **swoole** to serve shlink, some of these tasks are automatically run without blocking the request and also, without having to configure cron jobs. Probably resolving IP locations and generating previews.
|
||||||
|
|
||||||
## Update to new version
|
## Update to new version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue