Skip to content

Commit

Permalink
Merge pull request #2236 from daostack/release
Browse files Browse the repository at this point in the history
Release 1.0.1
  • Loading branch information
roienatan authored Nov 2, 2020
2 parents 03b5417 + 3bf1f6d commit 29520f1
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1
- Bugs Fixed
- Alchemy should not crash immediately when there is a subgraph error. It will retry for approximately 2.5 minutes.

## 1.0.0
- Features Added
- Show active proposal status on the Proposal History page
Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

[![Build Status](https://travis-ci.org/daostack/alchemy.svg?branch=dev)](https://travis-ci.org/daostack/alchemy)

## URLs
https://v1.alchemy.do - alchemy v1 on mainnet

https://xdai.v1.alchemy.do - alchemy v1 on xdai

https://rinkeby.v1.alchemy.do - alchemy v1 on rinkeby

https://kovan.v1.alchemy.do - alchemy v1 on kovan

**Alchemy 2.0** :fire:

Alchemy v2 source code can be found under [master-2](https://github.com/daostack/alchemy/tree/master-2) branch.

https://alchemy.do - alchemy 2.0 on mainnet

https://xdai.alchemy.do - alchemy 2.0 on xdai

https://rinkeby.alchemy.do - alchemy 2.0 on kovan

https://kovan.alchemy.do - alchemy 2.0 on rinkeby



**Alchemy is a budgeting and resource-allocation tool for decentralized organizations.** It is an interface that enables thousands of individuals to coordinate towards a common purpose, by proposing and deciding on how to spend funds in alignment with their goals and values.

Some example use cases for Alchemy include decentralized venture funds, charitable funds, innovation funds, a budget proposal system (like Dash but more sophisticated), or prioritizing features for an open-source project.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alchemy-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "An app for collaborative networks (DAOs), based on the DAO stack.",
"author": "DAOstack",
"license": "GPL-3.0",
Expand Down
21 changes: 6 additions & 15 deletions src/arc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,25 +134,16 @@ export async function initializeArc(provider?: any): Promise<boolean> {

// https://www.apollographql.com/docs/link/links/retry/
const retryLink = new RetryLink({
attempts: {
max: 5,
retryIf: (error, _operation) => {
// eslint-disable-next-line no-console
console.error("error occurred fetching data, retrying...");
// eslint-disable-next-line no-console
console.log(error);
return !!error;
},
attempts: (count) => {
return (count !== 10);
},
delay: {
initial: 500, // this is the initial time after the first retry
// next retries )up to max) will be exponential (i..e after 2*iniitial, etc)
jitter: true,
max: Infinity,
delay: () => {
// This will give a random delay between retries between the range of 5 to 30 seconds.
return Math.floor(Math.random() * (30000 - 5000 + 1) + 5000);
},
});

arcSettings.retryLink = retryLink;
arcSettings.graphqlRetryLink = retryLink;

// if there is no existing arc, we create a new one
if ((window as any).arc) {
Expand Down

0 comments on commit 29520f1

Please sign in to comment.