Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
- Update go-libipni
- Remove loadtest synthetic command that was never used
- Update README
  • Loading branch information
gammazero committed Sep 6, 2024
1 parent a979358 commit a7a8427
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 811 deletions.
30 changes: 5 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,36 +42,16 @@ After a configured amount of time without any updates from a provider (`PollInte

The configuration values that control this are documented [here](https://pkg.go.dev/github.com/ipni/storetheindex/config#Discovery), and their default values are specified [here](https://github.com/ipni/storetheindex/blob/main/doc/config.md#discovery). A custom polling configuration may be applied for specific providers using the `PollOverrides` configuration value to specify per-provider [Polling configuration](https://pkg.go.dev/github.com/ipni/storetheindex/config#Polling).

## Indexer CLI Commands
There are a number of client commands included with storetheindex. Their purpose is to perform simple indexing and lookup actions against a running daemon. These can be helpful to test that an indexer is working. These include the following commands:
## Indexer Administration CLI Commands
There are a number of administrative commands supported by storetheindex. These commands allow you to perform operations on a running indexer daemon. For a list of admin commands, see:

Informational:

- `find` Find value by CID or multihash in indexer
- `providers` Show information about providers known to the indexer
- `get` Get information about a specified provider
- `list` List the known providers

Administrative:

- `admin` Perform admin activities with an indexer
- `allow` Allow advertisements and content from peer
- `block` Block advertisements and content from peer
- `import-providers` Import provider information from another indexer
- `reload-config` Reload various settings from the configuration file
- `sync` Sync indexer with provider
- `init` Initialize or upgrade indexer node config file

Testing:

- `import` Imports data to indexer from different sources
- `register` Register provider information with an indexer
- `synthetic` Generate synthetic load to import in indexer
```
./storetheindex admin -help
```

## Help
To see a list of available commands, see `storetheindex --help`. For help with command usage, see `storetheindex <command> --help`.


## Configuration
The storetheindex config file [documentation](https://github.com/ipni/storetheindex/blob/main/doc/config.md#the-storetheindex-config-file)

Expand Down
1 change: 0 additions & 1 deletion command/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ var LoadtestCmd = &cli.Command{
Subcommands: []*cli.Command{
loadGenCmd,
loadGenVerifyCmd,
syntheticCmd,
},
}
307 changes: 0 additions & 307 deletions command/synthetic.go

This file was deleted.

Loading

0 comments on commit a7a8427

Please sign in to comment.