2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-18 23:00:20 +08:00

Merge fee6a00e4f81479b10c78ff94e61df5dc591e170 into 489e21920b92ae6acfc19c54de91166e56817620

This commit is contained in:
piglig 2025-02-05 16:32:56 +00:00 committed by GitHub
commit dea36ffb71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 101 additions and 1 deletions

100
Untitled Diagram.drawio Normal file
View File

@ -0,0 +1,100 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0" version="26.0.11">
<diagram name="Page-1" id="6fKOZFrr65FuS0PxDWEK">
<mxGraphModel dx="907" dy="643" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="2kl8HcV31ofFmPxRBDZs-1" value="" style="rounded=0;whiteSpace=wrap;html=1;flipH=1;flipV=1;" vertex="1" parent="1">
<mxGeometry x="24" y="70" width="780" height="440" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-4" value="" style="endArrow=none;html=1;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="2kl8HcV31ofFmPxRBDZs-1" target="2kl8HcV31ofFmPxRBDZs-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="360" as="sourcePoint" />
<mxPoint x="440" y="310" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-5" value="button1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="220" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-6" value="button2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="320" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-7" value="button3" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="410" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-8" value="layout1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="90" y="130" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-9" value="" style="endArrow=none;html=1;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="450" y="510" as="sourcePoint" />
<mxPoint x="450" y="70" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-10" value="button2-1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="320" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-11" value="button2-2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="410" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-13" value="label2-1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="220" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-14" value="layout2" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="300" y="130" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-15" value="button3-1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="320" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-16" value="layout3" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="580" y="130" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-17" value="Click button1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="50" y="20" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-18" value="" style="rounded=0;whiteSpace=wrap;html=1;flipH=1;flipV=1;" vertex="1" parent="1">
<mxGeometry x="24" y="660" width="780" height="440" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-19" value="" style="endArrow=none;html=1;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="2kl8HcV31ofFmPxRBDZs-18" target="2kl8HcV31ofFmPxRBDZs-18">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="950" as="sourcePoint" />
<mxPoint x="440" y="900" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-20" value="button1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="810" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-21" value="button2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="910" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-22" value="button3" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="1000" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-23" value="layout1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="90" y="720" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-24" value="" style="endArrow=none;html=1;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="450" y="1100" as="sourcePoint" />
<mxPoint x="450" y="660" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-27" value="label2-1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" y="810" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-28" value="layout2" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="300" y="720" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-29" value="button3-1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="910" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-30" value="layout3" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="580" y="720" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="2kl8HcV31ofFmPxRBDZs-31" value="Click button2" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="50" y="610" width="160" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@ -152,5 +152,5 @@ func NotFound(ctx context.Context, task *Task) error {
return fmt.Errorf("handler not found for task %q", task.Type())
}
// NotFoundHandler returns a simple task handler that returns a ``not found`` error.
// NotFoundHandler returns a simple task handler that returns a “not found“ error.
func NotFoundHandler() Handler { return HandlerFunc(NotFound) }