Skip to content

Commit

Permalink
Increase timeout / unsignedByte as string
Browse files Browse the repository at this point in the history
  • Loading branch information
stvoutsin committed Nov 30, 2023
1 parent 2c13fd1 commit fe11a60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/tap/TAPSyncJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ public class TAPSyncJob {
/** Ultimate execution duration (in milliseconds) to use if not a single
* alternative for this duration can be found.
* @since 2.4 */
protected final long MAX_DURATION_FALLBACK = 10000;
protected final long MAX_DURATION_FALLBACK = 100000;

/** The time (in ms) to wait the end of the thread after an interruption. */
protected long waitForStop = 1000;
protected long waitForStop = 10000;

/** Last generated ID of a synchronous job. */
protected static String lastId = "S" + System.currentTimeMillis() + "A";
Expand Down
2 changes: 1 addition & 1 deletion src/tap/formatter/VOTableFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ protected static final Class<?> getDatatypeClass(final VotDatatype datatype, fin
case SHORT:
return isScalar ? Short.class : short[].class;
case UNSIGNEDBYTE:
return isScalar ? Short.class : short[].class;
return isScalar ? String.class : String.class;
case CHAR:
case UNICODECHAR:
default: /* If the type is not know (theoretically, never happens), return char[*] by default. */
Expand Down

0 comments on commit fe11a60

Please sign in to comment.