diff --git a/FUNDING.json b/FUNDING.json new file mode 100644 index 000000000..178de491d --- /dev/null +++ b/FUNDING.json @@ -0,0 +1,7 @@ +{ + "drips": { + "filecoin": { + "ownedBy": "0xa36EcC2989E594e246BE46D0020F04F3afe8ADad" + } + } +} diff --git a/lib/fastparamfetch/paramfetch.go b/lib/fastparamfetch/paramfetch.go index 46e7290a3..f552a0784 100644 --- a/lib/fastparamfetch/paramfetch.go +++ b/lib/fastparamfetch/paramfetch.go @@ -26,7 +26,9 @@ import ( var log = logging.Logger("paramfetch") // const gateway = "http://198.211.99.118/ipfs/" -const gateway = "https://proofs.filecoin.io/ipfs/" +// const gateway = "https://proofs.filecoin.io/ipfs/" +const gateway = "https://pub-08ae819c828244bdbe5f615fd8c5e144.r2.dev/ipfs/" + const paramdir = "/var/tmp/filecoin-proof-parameters" const dirEnv = "FIL_PROOFS_PARAMETER_CACHE" const lockFile = "fetch.lock" diff --git a/web/static/cluster-tasks.mjs b/web/static/cluster-tasks.mjs index e45b93084..6d9b81919 100644 --- a/web/static/cluster-tasks.mjs +++ b/web/static/cluster-tasks.mjs @@ -1,33 +1,48 @@ -import { LitElement, html, css } from 'https://cdn.jsdelivr.net/gh/lit/dist@3/all/lit-all.min.js'; +import {LitElement, html, css} from 'https://cdn.jsdelivr.net/gh/lit/dist@3/all/lit-all.min.js'; import RPCCall from '/lib/jsonrpc.mjs'; -customElements.define('cluster-tasks', class ClusterTasks extends LitElement { - static get properties() { - return { - data: { type: Array }, - showBackgroundTasks: { type: Boolean }, - }; - } +class ClusterTasks extends LitElement { + static get properties() { + return { + data: { type: Array }, + showBackgroundTasks: { type: Boolean }, + }; + } - constructor() { - super(); - this.data = []; - this.showBackgroundTasks = false; - this.loadData(); - } + static get styles() { + return css` + th, td { + &:nth-child(1) { width: 8ch; } + &:nth-child(2) { width: 16ch; } + &:nth-child(3) { width: 10ch; } + &:nth-child(4) { width: 10ch; } + &:nth-child(5) { min-width: 20ch; } + + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + ` + } - async loadData() { - this.data = (await RPCCall('ClusterTaskSummary')) || []; - setTimeout(() => this.loadData(), 1000); - this.requestUpdate(); - } + constructor() { + super(); + this.data = []; + this.showBackgroundTasks = false; + this.loadData(); + } - toggleShowBackgroundTasks(e) { - this.showBackgroundTasks = e.target.checked; - } + async loadData() { + this.data = (await RPCCall('ClusterTaskSummary')) || []; + setTimeout(() => this.loadData(), 1000); + this.requestUpdate(); + } - render() { - return html` + toggleShowBackgroundTasks(e) { + this.showBackgroundTasks = e.target.checked; + } + + render() { + return html` - - - -
SpID | Task | @@ -62,10 +77,7 @@ customElements.define('cluster-tasks', class ClusterTasks extends LitElement {
---|---|
${entry.SincePostedStr} | ${entry.OwnerID - ? html`${entry.Owner}` + ? html`${entry.Owner}` : ''} |