Repository navigation
Add HTTP interface, ZPL/GRF flash memory simulation, and Labelary rate-limit protection - #105
Open
vinceformica-cyncly wants to merge 27 commits into
Open
vinceformica-cyncly wants to merge 27 commits into
vinceformica-cyncly wants to merge 27 commits into
Conversation
clear all
sub menu size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
^DFare persisted to disk and recalled via^XF. On recall, the stored template is prepended as a^DFlabel so Labelary resolves the^XFnatively — identical behaviour to real Zebra hardware.~DGare stored and injected inline before any^XGreference is sent to Labelary.SemaphoreSlim(1,1)serializes all Labelary calls across concurrent TCP connections. Semaphore acquisition happens at the start of each job so processing order matches TCP acceptance order. A configurable inter-request delay (default 400 ms, exposed in Global Settings) keeps burst workloads within the free-tier 3 req/sec limit.Test plan
~DGimage blob then a label with^XGreference — image appears in rendered label^DFtemplate then a print job with^XFrecall — label renders with field values populated