Giter Club home page Giter Club logo

Comments (7)

dealloc avatar dealloc commented on August 16, 2024 1

I just checked, and now it's responding null for the French language
image

It would appear there's something iffy going on in the synchronization process.
Languages are configured here, where the key (for example de is linked to a language code (de-DE).

I suspect the API doesn't always properly respond (maybe because it synchronizes multiple languages concurrently and that might be a bit too fast at once) with the correct languages and when it fails the translation will not be present in the sync.

I'll see tonight if I can confirm my suspicions and provide a fix. Currently though it seems the problem 'resolves' itself after 5 minutes (aka the next sync)

from api.

xSentry avatar xSentry commented on August 16, 2024 1

There is a Discord I found: https://discord.gg/SDE66X9S

from api.

Kejax avatar Kejax commented on August 16, 2024

I somehow missed the config part… …Anyways. Maybe you could check if the value is null after caching the data, if so refetch the message

from api.

dealloc avatar dealloc commented on August 16, 2024

With the way the API is currently set up it's rather hard to fall back to cache when rebuilding, will have to think of a proper way to deal with this

from api.

Kejax avatar Kejax commented on August 16, 2024

I rather meant:

-> Fetch data:
-> If "lang" is null:
-> Fetch until lang is not null
-> to Cache

from api.

Kejax avatar Kejax commented on August 16, 2024

Very out of context, but what do you think about an "Helldivers Community Developers Discord (HCDD)" ?

from api.

dealloc avatar dealloc commented on August 16, 2024

I rather meant:

-> Fetch data: -> If "lang" is null: -> Fetch until lang is not null -> to Cache

Ah, there's actually a retry mechanism in place but since it's not reliable in responding null it's a little hard debugging why it's not kicking in.

Very out of context, but what do you think about an "Helldivers Community Developers Discord (HCDD)" ?

That would definitely help with people who want to get started with the API as well as provide a central point of communication for developers to gather knowledge and information!
That being said I have no experience (nor do I desire to) moderating and maintaining such a public discord.
If you set one up I'd love to join though

from api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.