New feature for multiple-instance FeedLand

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
sql

Línea de trabajo

Start by reading the linked worknotes upgrade section, docs/setup.sql, docs/config.md, and the example config.json. Trace the flUseDatabaseForConfirmations setting and confirm that pending confirmations can be shared by multiple FeedLand instances, with the documented setup and defaults matching the feature.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Previous versions saved pending confirmations in memory and on disk in stats.json.

This worked fine where there is one instance of feedland.js, but now we're scaling up so there can be many instances, all working on the same data.

This means we have to have the option to store pending confirmations in the database so all instances can work off the same data.

How to upgrade

If you want to convert your instance to use this feature, follow the instructions in the worknotes, here.

Changes
  1. I updated the SQL setup instructions.
  2. The new config option, flUseDatabaseForConfirmations, is documented here.
  3. In the example config.json, I changed the value of confirmationExpiresAfter to 86400, 24 hours and flUseDatabaseForConfirmations to true. New installations should start out using the database for pending confirmations. No reason not to, every FeedLand has a database.

If you have questions, comments, problems -- post them in this thread.

Lenguaje dominante
HTML
Estrellas
11
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de scripting/feedlandInstall

Todos los issues de scripting/feedlandInstall

Issues similares

Más issues de Databases

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.