If the cu is getting timeouts when trying to fetch Scheduler messages from the SU, fallback to one or more graphql indexers for Arweave.
The best way is to query for the Assignments requesting the next 100 nonce's
query {
transactions(
first: 100,
tags: [
{ name: "Process", values: ["{PID}"] },
{ name: "Type", values: ["Assignment"] },
{ name: "Nonce", values: [...] }
]
) {
edges {
node {
id
tags
name
value
}
}
}
By using the Nonce you can get the next 100 results and then use the Message tag to get the message tags, and their content.
query (
transactions(ids: [....], first: 100) {
edges {
node {
id
tags
name
value
}
}
)
get data using http - GET https://arweave.net/{txId}