Skip to content

Commit 0cba12e

Browse files
committed
fix worker bug
1 parent 05cfa97 commit 0cba12e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

files/lib/system/worker/DiscordWebhookAvatarRebuildDataWorker.class.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@
77
use wcf\data\discord\bot\DiscordBotList;
88
use wcf\data\file\FileEditor;
99

10-
final class DiscordWebhookAvatarRebuildDataWorker extends AbstractRebuildDataWorker
10+
final class DiscordWebhookAvatarRebuildDataWorker extends AbstractLinearRebuildDataWorker
1111
{
1212
/**
1313
* @inheritDoc
1414
*/
1515
protected $objectListClassName = DiscordBotList::class;
1616

17+
/**
18+
* @inheritDoc
19+
*/
20+
protected $limit = 100;
21+
1722
#[Override]
1823
public function execute()
1924
{

package.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<packagename language="de">Discord-API</packagename>
77
<packagedescription>API to cummincate with Discord.</packagedescription>
88
<packagedescription language="de">API um mit Discord zu kommunizieren.</packagedescription>
9-
<version>2.7.1</version>
10-
<date>2024-10-11</date>
9+
<version>2.7.2</version>
10+
<date>2024-10-22</date>
1111
<license>https://creativecommons.org/publicdomain/zero/1.0/deed.en</license>
1212
</packageinformation>
1313
<authorinformation>
@@ -33,11 +33,8 @@
3333
<instruction type="option"/>
3434
<instruction type="database">acp/database/install_dev.hanashi.wsc.discord-api.php</instruction>
3535
</instructions>
36-
<instructions type="update" fromversion="2.7.0">
36+
<instructions type="update" fromversion="2.7.1">
3737
<instruction type="file"/>
38-
<instruction type="language"/>
39-
<instruction type="objectType"/>
40-
<instruction type="database">acp/database/install_dev.hanashi.wsc.discord-api.php</instruction>
4138
</instructions>
4239
<instructions type="update" fromversion="2.6.*">
4340
<instruction type="file"/>

0 commit comments

Comments
 (0)