Skip to content

Commit 5d42894

Browse files
committed
ignore cldr-json update from R2
1 parent f3bdfb4 commit 5d42894

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

functions/r2-pump/main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ func Invoke(ctx context.Context, e gcp.GCSEvent) error {
4848
version := e.Metadata["version"].(string)
4949
log.Printf("Invoke %s %s\n", pkgName, version)
5050

51+
// This update is causing timeouts, ignore for now and sync storages later.
52+
if pkgName == "cldr-json" && version == "srl295/random-v44" {
53+
log.Printf("update is ignored\n")
54+
return nil
55+
}
56+
5157
configStr, err := b64.StdEncoding.DecodeString(e.Metadata["config"].(string))
5258
if err != nil {
5359
return fmt.Errorf("could not decode config: %v", err)

0 commit comments

Comments
 (0)