Fixes: #71

Merged
Quix0r merged 1 commit from fixes/timeout-class-reference into stable 2020-10-26 03:52:30 +01:00
Quix0r commented 2020-10-22 13:50:35 +02:00 (Migrated from github.com)
  • timeout of 1 second was to short for the default directory at https://dir.friendica.social
  • Used \Some\Foo::class instead of '\Some\Foo' which type-safe and easier to find by your editor/IDE

Signed-off-by: Roland Häder roland@mxchange.org

- timeout of 1 second was to short for the default directory at https://dir.friendica.social - Used \Some\Foo::class instead of '\Some\Foo' which type-safe and easier to find by your editor/IDE Signed-off-by: Roland Häder <roland@mxchange.org>
MrPetovan (Migrated from github.com) requested changes 2020-10-22 17:23:49 +02:00
MrPetovan (Migrated from github.com) commented 2020-10-22 17:23:46 +02:00

1 second is the absolute minimum but you can increase the timeout itself in your local config file. Please remove this change from your PR.

1 second is the absolute minimum but you can increase the timeout itself in your local config file. Please remove this change from your PR.
AndyHee (Migrated from github.com) reviewed 2020-10-23 07:15:17 +02:00
AndyHee (Migrated from github.com) commented 2020-10-23 07:15:17 +02:00

Thanks for the hint @MrPetovan !

Could you tell us how this configuration looks like in practice?

Thanks for the hint @MrPetovan ! Could you tell us how this configuration looks like in practice?
MrPetovan (Migrated from github.com) reviewed 2020-10-23 08:09:43 +02:00
MrPetovan (Migrated from github.com) commented 2020-10-23 08:09:42 +02:00

Sure, here's a sample config/local.json file with the setting updated:

{
    "database": {
        "driver": "mysql",
        "hostname": "localhost",
        "database": "friendica-directory",
        "username": "friendica-directory",
        "password": "🤡"
    },
    "poller": {
        "server_poll_delay": 28800,
        "profile_poll_delay": 36000,
        "probe_timeout": 10
    },
    "logger": {
        "level": 250
    }
}
Sure, here's a sample `config/local.json` file with the setting updated: ```json { "database": { "driver": "mysql", "hostname": "localhost", "database": "friendica-directory", "username": "friendica-directory", "password": "🤡" }, "poller": { "server_poll_delay": 28800, "profile_poll_delay": 36000, "probe_timeout": 10 }, "logger": { "level": 250 } } ```
AndyHee (Migrated from github.com) reviewed 2020-10-23 08:15:32 +02:00
AndyHee (Migrated from github.com) commented 2020-10-23 08:15:32 +02:00

Great! Thanks very much, @MrPetovan

Great! Thanks very much, @MrPetovan
Quix0r commented 2020-10-26 01:24:10 +01:00 (Migrated from github.com)

I forced-pushed the revert of the timeouts. Now only the ::class usage is left.

I forced-pushed the revert of the timeouts. Now only the `::class` usage is left.
MrPetovan (Migrated from github.com) approved these changes 2020-10-26 03:51:47 +01:00
MrPetovan (Migrated from github.com) left a comment

Thank you for your work!

Thank you for your work!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: friendica/friendica-directory#71
No description provided.